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
Francesco Abbate
67d7b894ae
Add initial suggestion in open-project-folder
2021-09-07 15:23:41 +02:00
Guldoman
de4072e207
Avoid checking for unique selections on non-`DocView`s
2021-09-07 15:03:00 +02:00
Adam Harrison
9d4e944549
Added in two new VSC-style multicursor shortcuts.
2021-09-07 15:03:00 +02:00
Francesco Abbate
28e8a98ffc
Fix error in change-project-folder command
2021-09-07 05:21:45 -07:00
Francesco Abbate
f1c004411c
Add missing home_encode for change-project-folder
2021-08-28 08:08:53 -07:00
Francesco Abbate
a8f4c0c4e5
Set initial text for core:change-project-folder
2021-08-27 15:22:09 +02:00
Adam
2ea62eee8f
Merge pull request #391 from adamharrison/fix-replace-tooltip
...
Added in additional function to remove tooltip after cancelling replace.
2021-08-14 09:12:20 -04:00
Adam
9e45b1de58
Merge pull request #390 from adamharrison/cursor-fixes
...
Fixed multilne cursors at the edges of docuemnts.
2021-08-14 09:12:13 -04:00
Adam Harrison
5f1e68b824
Added in additional function to remove tooltip after cancelling replace.
2021-08-14 09:11:07 -04:00
Adam Harrison
8e9c410d27
Fixed multilne cursors at the edges of docuemnts.
2021-08-14 08:59:37 -04:00
Adam
37dcc4725f
Merge pull request #376 from adamharrison/clipboard-fix
...
Added in a hash check to the system clipboard.
2021-08-12 15:30:50 -04:00
Adam
f3e750ccb4
Merge pull request #378 from adamharrison/close-other-tabs
...
Added in close others, and refactored close all.
2021-08-12 09:53:04 -04:00
Adam
d9fc6d407b
Merge pull request #377 from adamharrison/regex-anchored
...
Fixed small bug on bootup, and added in a multiline qualifier to replacements.
2021-08-12 09:52:54 -04:00
Adam Harrison
aa4d91a03f
Reverted hash changes; simply copy entire clipboard.
2021-08-11 18:14:46 -04:00
Adam Harrison
40c68ffcc6
Pairs -> IPairs
2021-08-10 23:18:30 -04:00
Adam Harrison
851dc07408
Added in close others, and refactored close all.
2021-08-10 23:14:40 -04:00
Adam Harrison
26a77542e3
Fixed small bug on bootup, and added in a multiline qualifier to replacements.
2021-08-10 22:01:28 -04:00
Adam Harrison
255c45b30b
Since we're modifying the clipboard, actually makes way more sense to use this hash.
2021-08-10 21:29:33 -04:00
Adam Harrison
71e62ce84f
Added in a hash check to the system clipboard.
2021-08-10 21:25:40 -04:00
Adam Harrison
2bf56e67c5
Changed behaviour of home.
2021-08-06 18:08:08 -04:00
Adam Harrison
c461cfae93
Removed unecessary duplicates.
2021-07-20 14:50:40 -04:00
Adam Harrison
0777a6f0b8
Merged dev to master.
2021-07-20 14:39:50 -04:00
Adam Harrison
6330f4d596
Allowed find to function across different views.
2021-07-15 18:29:48 -04:00
Adam Harrison
0dda252096
Reverted find fixes.
2021-07-15 18:15:05 -04:00
takase1121
f4f33bd36b
remove deprecated code
2021-07-15 18:01:24 -04:00
Adam
e1ae94a01b
Merge pull request #318 from lite-xl/MacOSClose
...
Created an extra command, to implement appropriate cmd+w behaviour on Mac.
2021-07-09 14:30:48 -04:00
lqdev
e5b2a7cbe8
reset blink timer when a new cursor is created
2021-07-01 14:50:28 +02:00
Adam Harrison
fd3f25608f
Created an extra command, to implement appropriat cmd+w behaviour on mac.
2021-06-27 13:18:54 -04:00
Adam Harrison
8b2fb67b9b
Fixed regex replace.
2021-06-20 22:24:20 -04:00
Adam Harrison
46e939a3e6
Fixed a minor bug.
2021-06-20 21:34:42 -04:00
Adam Harrison
305921299f
Added in tooltips, the ability to swap between different find modes with a keybind.
2021-06-20 21:22:37 -04:00
Adam Harrison
bd02095a13
Fixed minor bugs; swap no longer returns from get.
2021-06-18 23:58:55 -04:00
Adam Harrison
704e04396f
Rebased, and added the ability for ctrl to just create new cursors.
2021-06-18 17:33:55 -04:00
Adam Harrison
3541ab4aa1
Removed unecessary check.
2021-06-18 17:33:55 -04:00
Adam Harrison
b5cbe3a2fb
Added in the ability to iterate through cursors backwards.
2021-06-18 17:33:55 -04:00
Adam Harrison
dfc57bd884
Used routine to add cursors in order correctly.
2021-06-18 17:33:55 -04:00
Adam Harrison
6915d86d59
Introduced the constraint that all cursors must be in order.
2021-06-18 17:33:55 -04:00
Adam Harrison
0f229b039d
Fixed merging. Fixed selection undo stack.
2021-06-18 17:33:55 -04:00
Adam Harrison
c494d52caf
Used an inappropriate function in a selection loop.
2021-06-18 17:33:55 -04:00
Adam Harrison
c6f7e473f0
That's what I get for not testing after a 'simple' refactor.
2021-06-18 17:33:55 -04:00
Adam Harrison
858f7a2a50
Added in missing boolean.
2021-06-18 17:33:55 -04:00
Adam Harrison
b42708fe56
Cleaned up functions.
2021-06-18 17:33:55 -04:00
Adam Harrison
6c0d124410
Allows for rectangular selections with ctrl; also fixed tabbing.
2021-06-18 17:33:55 -04:00
Adam Harrison
08ab6cba05
Added in multiple clipboard line buffers.
2021-06-18 17:33:55 -04:00
Adam Harrison
37a3884ee2
Initial commit of multicursor. Next step is to investigate how multicursor works on various other IDEs and ape those.
2021-06-18 17:33:55 -04:00
Adam
bdc37f1f6c
Added in remove file function. ( #272 )
...
* Added in remove file function.
* Changed namespace of rename and remove (now delete).
2021-06-17 22:26:27 +02:00
jgmdev
e070dbebc1
Fix undeclared NagView findindex() by moving it to common.
2021-06-13 21:28:29 -04:00
Francesco
98164f6d4f
Integrate mkdirp function in common module ( #265 )
...
Move the function mkdirp into common to be generally available.
Use the new common.mkdirp from create_user_directory() from
core/init.lua replacing previous parent directory creation code
within the function.
The previous mkdirp function did not work on Windows where
absolute paths starts with a drive letter. The code from
create_user_directory() did not have this problem but was wrong
in the way it was creating the nested directories.
The new implementation in common.mkdirp fix both problems.
2021-06-13 19:50:42 +02:00