-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial Implementation of Autocomplete (#77)
* Added autocomplete box that will display options * hide and display the autocomplete box * add the matching strings to the autocomplete box * fixed bug when adding new lines * added matching prefixes being bolded * _wordMatches now compares all documented forms * fixed the width and made the height of the autocomplete box variable fixed the formatting in the autobox * fixed border around words in autobox * Make the autobox invisible when displaying docs added some comments * docs stay up after one space to handle cases like cons vs cons-stream The autocomplete box does show up unless there exists a ( in front of the word * now looks at the last symbol next to an open parens to decide what doc to show * fixed autobox disappearing on empty parens * rewrote and cleaned up the _currOp function * finds both the last op and the second to last op * changed the logic for determining if an operation represents a string being currently typed vs one that is already complete * wrapped the autobox with a render element * removed the wrapper autBox instead of just the child nodes * allow autocomplete to be toggled on and off * autocomplete toggle remembered in different sessions * will complete word on tab if the docs for that word are displayed * fixed spelling error with local storage of autocomplete preference * scroll the autobox into view if it expands below the current window * made some syntax/naming fixes * cleared up stuff with local storage * cleaned up comment formatting and removed unnecesary code * Used Tuple2 instead of a generic List * changed some variable names * fixed some comments and fixed bug when there exists a space after a open parentheses * fixed some variable names and cleared up some comments * added dependency and fixed an error with a space before the name of an operation
- Loading branch information
Showing
5 changed files
with
171 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters