summaryrefslogtreecommitdiff
path: root/Libraries/LibLine/SuggestionManager.h
AgeCommit message (Collapse)Author
2020-05-29Meta: Add a script check the presence of "#pragma once" in header filesEmanuele Torre
.. and make travis run it. I renamed check-license-headers.sh to check-style.sh and expanded it so that it now also checks for the presence of "#pragma once" in .h files. It also checks the presence of a (single) blank line above and below the "#pragma once" line. I also added "#pragma once" to all the files that need it: even the ones we are not check. I also added/removed blank lines in order to make the script not fail. I also ran clang-format on the files I modified.
2020-05-23LibLine: Make the comments follow the project styleAnotherTest
2020-05-23LibLine: Properly paginate suggestions in XtermSuggestionDisplayAnotherTest
This commit adds back suggestion pagination, and makes it 10x better. Also adds a "< page m of n >" indicator at the bottom if there are more suggestions than would fit in a page. It properly handles cycling forwards and backwards :^)
2020-05-23 LibLine: Add a constructor for CompletionSuggestions purely for comparisonAnotherTest
`CompletionSuggestion(text, ForSearch)` creates a suggestion whose only purpose is to be compared against. This constructor skips initialising the views.
2020-05-23LibLine: Refactor suggestion handling and display logic outAnotherTest