takase1121
050f131261
fix number of parameters passed to self:move_towards
...
self:move_towards(self) causes self to be passed twice, ignoring rate
2021-07-06 17:28:38 +08:00
takase1121
daa0720c6d
remove deprecated code
2021-06-22 16:09:36 +08:00
takase1121
dad6d3d218
fix undefined variable
2021-06-22 09:18:40 +08:00
jgmdev
69cea72f90
Merge branch 'master' into dev
2021-06-21 19:47:50 -04:00
Adam Harrison
f9edca712d
Added in lineguide to core.
2021-06-21 23:21:07 +02: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
2486f253eb
Abstracted out draw caret, so that the line guide can draw under it. ( #287 )
...
* Abstracted out draw caret, so that the line guide can draw under it.
* Moved caret drawing out to draw_overlay.
2021-06-20 22:16:35 +02:00
jgmdev
a6efb6147c
Merge branch 'master' into dev
2021-06-20 12:30:54 -04:00
jgmdev
1a51dad23c
Added Doc:on_close() for plugins
2021-06-20 00:13:07 -04:00
jgmdev
35758a5942
Merge branch 'master' into dev
2021-06-19 22:32:46 -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
292c98935c
Fixed recursion error.
2021-06-18 17:33:55 -04:00
Adam Harrison
3541ab4aa1
Removed unecessary check.
2021-06-18 17:33:55 -04:00
Adam Harrison
0210264552
Made get_selections a bit more flexible.
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
b065b52067
Ensured that textual inputs sort cursors so that we don't get *real* weird behaviour.
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
d3b3f26316
Added in cursor merging behaviour.
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
75658b4f3f
Removed unecessary elses.
2021-06-18 17:33:55 -04:00
Adam Harrison
2475b1624f
Fixed error.
2021-06-18 17:33:55 -04:00
Adam Harrison
b42708fe56
Cleaned up functions.
2021-06-18 17:33:55 -04:00
Adam Harrison
316671e5b7
Fixed tabbing spaces.
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
a7f39017ff
Fixed undo stack.
2021-06-18 17:33:55 -04:00
Adam Harrison
93670a314d
Changed iterator behaviour to avoid allocating a closure each time.
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
jgmdev
dcf8a91db5
Merge branch 'master' into dev
2021-06-18 10:56:03 -04:00
cukmekerb
e493fa1b0a
clicking the empty space where the x was no longer closes the tab
2021-06-17 21:15:30 -07:00
cukmekerb
e1d85af69b
added config.tab_close_button option to hide X on tabs
2021-06-17 18:35:36 -07:00
jgmdev
3c290adcef
Merge branch 'master' into dev
2021-06-17 17:27:41 -04:00
Adam
5151e36981
Added in the ability to customize the config directory used with the environment variable XDG_CONFIG_HOME. ( #271 )
2021-06-17 23:15:08 +02: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
Francesco Abbate
1ad4289e76
Do not try to update topdir folder in treeview
...
If the directory expanded is a project's top directory
do not attempt to update its content.
Fix again issue #275
2021-06-17 19:07:32 +02:00
Francesco Abbate
b39db791f9
Do not duplicate RootView method in contextmenu
...
The method RootView:on_mouse_pressed was copied in the contextmenu plugin with
a small modification to intercept the mouse clicks of the active view.
This approach is problematic because a relatively large portion of code is
duplicated.
We introduced a function named RootView.on_view_mouse_pressed to let plugins
like contextmenu intercepts mouse clicks in the active area without duplicating
the function RootView:on_mouse_pressed.
2021-06-17 10:22:31 +02:00
jgmdev
e260290bd3
Merge branch 'master' into dev
2021-06-13 21:29:15 -04: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
jgmdev
155fa4e55a
Merge branch 'master' into dev
2021-06-12 23:15:04 -04:00
Jefferson González
9823da8531
Merge pull request #267 from jgmdev/nagview-fix
...
Added missing NagView dialog commands to startup.
2021-06-12 23:14:17 -04:00
jgmdev
5d95d604a9
Merge branch 'master' into dev
2021-06-12 23:11:35 -04:00
Adam Harrison
66b76f15c2
Added a check for duplicate tabs, also ensured that the appropriate view is set as active.
2021-06-12 14:24:31 -04:00