15 Commits

Author SHA1 Message Date
Francesco Abbate
b440a22581 Remeber initial user text for hidden suggestions
When using hidden suggestions remember the text user was typing when
navigating suggestions.

Ensure also that in the previously searched expressiosn we have no
duplicate entries.
2021-09-09 15:42:16 +02:00
Francesco Abbate
4bcc1cc07c Fix error with hidden suggestions
Avoid indexing a nil if there are no suggestions.
2021-09-09 15:42:16 +02:00
Francesco Abbate
f85fe102d9 Implement hidden suggestions for find dialog 2021-09-09 15:42:16 +02:00
Francesco Abbate
d46475532f Introduce View objects context property
Used to determine if an instance of the given class should
be closed or not when a project session is terminated.
2021-08-27 23:55:17 +02:00
Adam
4c42dd4adc
Do not close command view on open-file is file is invalid or it is a directory
Added in a validation function which fires before submitting a command enter; found it incredibly irritating to try to open something, hit enter, only to be told I'd selected a directory, and then have to go through the whole process again. (#175)
2021-05-05 08:04:51 +02:00
Francesco Abbate
75eadf4dc7 Simplifies logic for suggestion's offset 2021-02-28 23:24:19 +01:00
Francesco Abbate
e46800347f Implement scrolling in command view 2021-02-28 19:52:38 +01:00
rxi
bc4bf3d384 Added core.set_active_view(); removed focusable boolean from View 2020-05-19 14:55:46 +01:00
rxi
bcd1b3a081 Fixed gutter text jittering when horizontal scrolling on docview 2020-05-14 10:06:47 +01:00
rxi
70f62f3c8a Added doc:rename command; changed command_view:set_text to take select argument 2020-05-09 16:09:07 +01:00
rxi
95bdb07d49 Removed unused variables 2020-05-07 22:40:34 +01:00
rxi
885ed5f860 Improved handling of zero-sized locked nodes on RootView 2020-05-01 16:17:07 +01:00
rxi
592c16f3e0 Fixed rounding of CommandView suggestion popup box 2020-04-22 19:25:47 +01:00
rxi
503d5101b5 Reorganising of DocView's draw functions
* Renamed `draw_line_body` => `draw_line_main`
* Renamed `draw_gutter_text` => `draw_line_gutter`
* Added `draw_line_text` for *just* the line text
2020-04-18 15:27:18 +01:00
rxi
d8c4bfa6ba Initial commit 2019-12-28 11:17:56 +00:00