Guldoman and Francesco Abbate
aa0e083cb9
Allow find-replace:select-next to select more occurrences after wrap
...
The initial position for the search is defined by the last selection
towards the end of the file.
After reaching the end of the file, it would always select the same
selection to start the search from.
Now, we start the search from each selection, until a new occurrence is
found.
2021-09-09 21:38:12 +02:00
Francesco Abbate
4964c30e12
Bring back command find-replace:select-next
...
Bring back the command like before to keep single selection but with
ctrl+f3 keybindings. Change the name of the new multi-cursor command
but keep the ctrl+d keybinding.
2021-09-09 19:12:56 +02:00
Guldoman and Francesco
17185075c6
Allow find-replace:select-next to select more occurrences after wrap
...
The initial position for the search is defined by the last selection
towards the end of the file.
After reaching the end of the file, it would always select the same
selection to start the search from.
Now, we start the search from each selection, until a new occurrence is
found.
2021-09-09 18:43:08 +02:00
Francesco Abbate
04250a206a
Add previous find and replace in session
2021-09-09 15:42:16 +02:00
Francesco Abbate
403b7f6fb6
Add missing remove tooltip call
2021-09-09 15:42:16 +02:00
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
fa8b3b33b1
Use hidden suggestions also for replace dialog
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
dfb64fbdf1
Do not add selection with newlines in replace
...
If the selected text containes newlines it doesn't make sense to
use it as the initial text in the "replace text" command view.
Do not use the selected text if a newline is found in the selection.
Fix #511 .
2021-09-09 15:39:41 +02:00
takase1121 and Francesco
7a24dbb17e
revert new keyboard bindings
2021-09-09 07:44:58 +02:00
takase1121 and Francesco
1a21c66353
add autocomplete:cycle
...
Some (probably lots) of people are used to tabbing through autocomplete.
now, tab is binded to autocomplete:cycle while enter is binded to
autocomplete:complete.
2021-09-09 07:44:58 +02:00
takase1121
5cc23348a1
reverse the order of args in keymap.unbind
2021-09-08 23:17:50 +08:00
takase1121
7e4236a82f
add keymap.unbind(), update contextmenu to use keymap.get_binding()
...
This is something probably people are looking for...
2021-09-08 23:11:36 +08:00
Guldoman and Francesco
0a52861129
Revert horizontal scroll implementation
2021-09-08 07:11:50 +02:00
Guldoman and Francesco Abbate
0a36e66aba
Fix treeview:open-in-system command on Windows
...
The first argument is the title for the `CMD` window.
2021-09-07 22:35:56 +02:00
Guldoman and Francesco
474952645c
Fix treeview:open-in-system command on Windows
...
The first argument is the title for the `CMD` window.
2021-09-07 22:33:48 +02:00
Francesco Abbate
2b277bb502
Fix problem with -psn argument on macOS
2021-09-07 06:44:15 -07:00
Francesco Abbate
67d7b894ae
Add initial suggestion in open-project-folder
2021-09-07 15:23:41 +02:00
Francesco Abbate
90c721b823
Adopt bigger fonts by default
2021-09-07 15:11:20 +02:00
Guldoman and Francesco Abbate
f9c7eeeeb8
Check if session file returned anything
2021-09-07 15:03:00 +02:00
Guldoman and Francesco Abbate
3278eebdad
Avoid exposing treeview commands when not usable
2021-09-07 15:03:00 +02:00
Guldoman and Francesco Abbate
9887dd4746
Make open files follow renames
2021-09-07 15:03:00 +02:00
Guldoman and Francesco Abbate
59aa7f0090
Fix absolute path detection in core.project_absolute_path
2021-09-07 15:03:00 +02:00
Guldoman and Francesco Abbate
de4072e207
Avoid checking for unique selections on non-DocViews
2021-09-07 15:03:00 +02:00
Adam Harrison and Francesco Abbate
b7f2d1ad03
Forgot to return an 'n'.
2021-09-07 15:03:00 +02:00
Adam Harrison and Francesco Abbate
7811660caf
Fixed replace to make it multicursor-aware.
2021-09-07 15:03:00 +02:00
Timofffee and Francesco Abbate
604626fa32
Fix macOS keymap
2021-09-07 15:03:00 +02:00
Adam Harrison and Francesco Abbate
1d61cf989f
Fixed cursor movement.
2021-09-07 15:03:00 +02:00
Adam Harrison and Francesco Abbate
d352eb1cb9
Fixed cursors moving around with removal and inserts with cursors. Also fixed drawing line highlights with multicursors.
2021-09-07 15:03:00 +02:00
Adam Harrison and Francesco Abbate
9d4e944549
Added in two new VSC-style multicursor shortcuts.
2021-09-07 15:03:00 +02:00
Francesco Abbate
68c1cc606f
Bring back min len autocomplete default to 3
2021-09-07 15:03:00 +02:00
Guldoman and Francesco Abbate
e93bbc559c
Fix crash in project search when project has no files
2021-09-07 15:03:00 +02:00
Guldoman and Francesco Abbate
d3bd35b577
Use plain string:find when matching plugin directories
2021-09-07 15:03:00 +02:00
Guldoman and Francesco Abbate
7f338fc993
Allow tabs to always be visible
2021-09-07 14:59:03 +02:00
Takase and Francesco Abbate
fb907c9bf4
increase code readibility
2021-09-07 14:59:03 +02:00
takase1121 and Francesco Abbate
97493a1a4e
add doc:get_selection_text()
2021-09-07 14:59:03 +02:00
takase1121 and Francesco Abbate
30d3751632
remove unused variable
2021-09-07 14:59:03 +02:00
takase1121 and Francesco Abbate
14565b5226
more changes to logview
...
- remove draw_text_elipsis
- remove clip rect operations
- fix text drawing when expanded
- simplify code
2021-09-07 14:59:03 +02:00
takase1121 and Francesco Abbate
e25ea1196a
add context menu options for logview
2021-09-07 14:59:03 +02:00
takase1121 and Francesco Abbate
622b162225
add core.get_log()
2021-09-07 14:59:03 +02:00
takase1121 and Francesco Abbate
afaf0a718d
improve logview
...
The logview is now less cluttered.
The filename and stack trace (if any) is hidden by default.
The user can click on the log entry to expand it.
2021-09-07 14:59:03 +02:00
Francesco Abbate
28e8a98ffc
Fix error in change-project-folder command
2021-09-07 05:21:45 -07:00
Francesco Abbate
3cc4cd1ada
Fix error when opening root directory
2021-09-07 05:09:26 -07:00
Guldoman and Francesco
444c929e3c
Add commands to manage tab style
2021-09-07 07:53:03 +02:00
Guldoman and Francesco
0d2a89cb76
Don't use threads in detectindent
...
As it's execution only happens on load/save.
2021-09-07 07:53:03 +02:00
Guldoman and Francesco
501be5fdfe
Use configured indent values if detectindent can't detect them
2021-09-07 07:53:03 +02:00
Guldoman and Francesco
e99c76f8b8
Update detectindent cache only after saving/reloading
...
Before, if the indent wasn't fully detected, `detectindent` would try to
update every second. On files with very long lines this would cause
stutters.
Now the indent is updated only once after saving/reloading.
2021-09-07 07:53:03 +02:00
Francesco Abbate
4f68f7fd92
Try to fix problem with js syntax of '/=' operator
...
The operator '/=' was wrongly considered by the js syntax file as the
beginning of a regexp literal.
With this modification we modify the pattern for regexp literals to not
match expressions starting with '/='.
This doesn't seem entirely correct because apparently javascript can accept
regexp literals starting with '/=' but the rule used by the javascript
lexer is not known.
2021-09-06 09:31:17 +02:00
Guldoman
371914af67
Check if session file returned anything
2021-09-04 00:32:01 +02:00