Adam Harrison
152fd6c66c
Fixed doc, and fixed plugin load.
2021-07-20 15:09:14 -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 and GitHub
69da9655d1
Merge pull request #334 from adamharrison/find-fixes
...
Find Improvements
2021-07-16 17:53:41 -04:00
Adam and GitHub
7d40458489
Merge pull request #335 from lite-xl/build-removal
...
Removed legacy build system.
2021-07-16 17:53:14 -04:00
Adam Harrison
e144ad3271
Removed legacy build system.
2021-07-15 20:47:44 -04:00
Adam Harrison
6330f4d596
Allowed find to function across different views.
2021-07-15 18:29:48 -04:00
Adam Harrison
a218a95c45
Updated keys as well.
2021-07-15 18:21:54 -04:00
Adam Harrison
0dda252096
Reverted find fixes.
2021-07-15 18:15:05 -04:00
Adam and GitHub
0426fc26c2
Merge pull request #333 from adamharrison/namespace-config
...
Namespace plugin configs
2021-07-15 17:58:51 -04:00
Adam Harrison
423cd33810
Typo.
2021-07-15 17:58:14 -04:00
Adam Harrison
e539310e6d
Namespace plugin-specific configuration settings.
2021-07-15 17:58:14 -04:00
Adam and GitHub
d10865bcc4
Merge pull request #303 from jgmdev/treeview-contextmenu
...
Added context menu to treeview.
2021-07-13 22:59:24 -04:00
Adam and GitHub
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
Adam and GitHub
1a87d0e4fd
Merge pull request #323 from lite-xl/liquidev-multicursor-reset-blink
...
Reset blink timer when a new cursor is created
2021-07-04 19:31:40 -04:00
Adam and GitHub
f29b6d1cc8
Merge pull request #309 from redtide/git-line-endings
...
Set default documents line endings behavior
2021-06-30 11:13:42 -04:00
Adam and GitHub
9126b5e64d
Merge pull request #313 from jgmdev/add-system-rmdir
...
Added `system.rmdir(path)`, and `common.rm(path, recursive)`
2021-06-29 17:44:58 -04:00
Adam Harrison
c2c59e9c99
Fixed XDG issue.
2021-06-28 10:44:40 -04:00
Adam and GitHub
4d4c49e36e
Merge pull request #312 from redtide/application-name
...
Use lite-xl as project and executable names
2021-06-27 17:12:23 -04:00
Adam Harrison
f899848631
Added in checks so that the entire thing isn't consumed.
2021-06-27 13:27:20 -04: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
cc568e65fc
Changed over ctrl+w keybinding over to cmd+w, as per #311 .
2021-06-24 18:00:50 -04:00
Adam and GitHub
83a604dfb7
Merge pull request #296 from lite-xl/font-copy-api
...
Add a C API copy method for font_desc objects
2021-06-24 12:47:16 -04:00
Adam Harrison and Francesco Abbate
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 and GitHub
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
Adam Harrison
bd02095a13
Fixed minor bugs; swap no longer returns from get.
2021-06-18 23:58:55 -04:00
Adam and GitHub
4931110208
Merge pull request #255 from adamharrison/Multicursor
...
Multicursor Implementation
2021-06-18 17:38:54 -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
Adam and GitHub
e4fd3afa88
Merge pull request #283 from vincens2005/master
...
Allow for hiding of the X button on the tabs
2021-06-18 09:42:30 -04:00
Adam and Francesco Abbate
d45ec645d3
Added in the ability to customize the config directory used with the environment variable XDG_CONFIG_HOME. ( #271 )
2021-06-17 23:39:26 +02:00
Adam Harrison and Francesco Abbate
4fc910dbdb
Replaced fill loop with SDL_FillRect.
2021-06-17 23:31:44 +02:00
Adam and GitHub
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 and GitHub
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
Adam Harrison
2fc245eb69
Added in an interface to the scale plugin.
2021-06-14 20:33:15 -04:00
Adam Harrison
aed643893e
Fixed contextmenu to play nice with dragging nodes.
2021-06-14 09:23:04 -04:00
Adam and GitHub
804429e3b6
Merge pull request #266 from adamharrison/QuickOptimization
...
Replaced fill loop with SDL_FillRect.
2021-06-12 22:53:14 -04:00
Adam and GitHub
637b7f952d
Merge pull request #256 from adamharrison/FixTabDragging
...
Allows you to drag nodes around splits.
2021-06-12 17:59:08 -04:00
Adam and GitHub
6097ba36d7
Merge pull request #269 from Jan200101/docdir-patch
...
documents should not be put into global doc root
2021-06-12 14:31:26 -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
Adam Harrison
a18eeafbc8
Added in some more checks.
2021-06-12 13:43:58 -04:00
Adam Harrison
f729d7d008
Allows you to drag nodes around splits.
2021-06-12 13:43:58 -04:00
Adam Harrison
214e6898df
Reverted if guard.
2021-06-09 19:34:02 -04:00
Adam Harrison
aa9f16c74c
Added in #if guard for ARM achitectures.
2021-06-09 18:05:39 -04:00
Adam Harrison
29837d0c41
Replaced fill loop with SDL_FillRect.
2021-06-08 21:31:09 -04:00
Adam and GitHub
7de1fde9cf
Merge pull request #264 from bjornbm/issue261
...
Use `ctrl` for next tab on macos
2021-06-08 15:16:00 -04:00
Adam Harrison
2170ab9649
Apologies for the subpar previous commit. This fixes the bugs in that one.
2021-06-05 00:50:25 -04:00
Adam Harrison
090d67f252
Exposed indent function, and made it more flexible.
2021-06-05 00:44:35 -04:00
Adam Harrison
3b816a2b4a
Changed regex error handling, so that errors can be handled gracefully in lua, and made it so gsub returns the exact matches and replacements.
2021-06-04 23:58:17 -04:00
Adam and GitHub
a128790112
Update README.md
...
Changed invite link to be permanent.
2021-06-03 15:23:54 -04:00
Adam and GitHub
248d70a8ca
Add PCRE to support regular expressions
...
Use regular expressions instead of Lua patterns for find and replace editor commands.
Syntax files can now use regex or Lua patterns as before keeping backward compatibility for plugins.
2021-06-02 21:27:00 +02:00
Adam and GitHub
4ffb5e3672
Fixed commenting and uncommenting. ( #224 )
2021-05-28 08:17:49 +02:00
Adam Harrison
f1a4bf8218
Changed to multiline select.
2021-05-26 17:52:01 -04:00
Adam Harrison
8acb3fae8c
Fixed minor error that occurs when saving as after viewing a non-doc tab.
2021-05-24 17:26:16 -04:00
Adam and GitHub
a254d393db
Indent Enhancements ( #202 )
...
* Indent enhancements.
* Fixed to match style guidelines.
* Added in useful explanatory comment.
* Changed which selection we're using, as we don't want this kind of wrapping to happen.
* Fixed bug involving lines full of whitespace.
* Removed unecessary commit.
* Actually reverted function, so that we don't screw up commenting.
* Fixed hard tab issue.
2021-05-22 15:01:19 +02:00
Adam and GitHub
50f6ebe8ee
Merge pull request #206 from adamharrison/FixingMacMesonBuild
...
Fixed meson build on Mac.
2021-05-21 21:30:28 -04:00
Adam Harrison
3a5f04fae5
Spelling mistkae.
2021-05-21 16:32:26 -04:00
Adam Harrison
18fe6576d8
Fixed meson build on Mac.
2021-05-21 16:31:31 -04:00
Adam and GitHub
949692860e
Tokenizer cleanup ( #198 )
...
* Cleaned up tokenizer to make subsyntax operations more clear.
* Explanatory comments.
* Made it so push_subsyntax could be safely called elsewhere.
* Unified terminology.
* Minor bug fix.
* State is an incredibly vaguely named variable. Changed convention to represent what it actually is.
* Also changed function name.
* Fixed bug.
2021-05-20 21:58:27 +02:00
Adam and GitHub
b278306fc9
Changed deindent, so that if the deindent runs into an unusual line with a partial indent at the front, it'll still de-indent that. ( #193 )
2021-05-19 22:41:28 +02:00
Adam and GitHub
6e08c3321c
Fixed a bug where if detectindent is paired with another plugin that hooks the event, it'll overwrite the other plugin's functions. ( #190 )
2021-05-17 10:05:08 +02:00
Adam and GitHub
e43f1b9df9
Unified open and saving style. ( #189 )
2021-05-17 09:29:51 +02:00
Adam and GitHub
85d0d684de
Truncated lines longer than 256 characters, and skipped to the relevant portion of the line to reduce slowdown and increase relevancy. ( #185 )
2021-05-17 09:16:20 +02:00
Adam and GitHub
e54ffc49ea
Added in keyboard shortcuts to the project search module. ( #188 )
2021-05-17 09:14:46 +02:00
Adam and GitHub
c7b1a6f53e
Allowed for optional boolean to better match filenames. ( #180 )
2021-05-16 19:23:17 +02:00
Adam and GitHub
135dfa6f03
Add a more explicit message in log and config.max_project_files
...
* Added a line to avoid people going down the rabbit hole that I did.
* Further explanatory text.
2021-05-05 16:00:17 +02:00
Adam and GitHub
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
Adam and GitHub
67ec7e8065
Added in drag and drop capability. ( #170 )
2021-05-02 09:13:21 +02:00
Adam and GitHub
e4da235f7e
Made it so that you can continue clicking and still select things. ( #166 )
2021-05-01 22:32:50 +02:00
Adam and GitHub
dd604c1336
Nil check, to avoid issues for files that don't have filenames yet (new files, etc..) ( #169 )
2021-05-01 22:25:39 +02:00
Adam Harrison
b69242312d
Changed HTML plugin to have case insensitive matching of script and style tags.
2021-05-01 14:52:39 -04:00
adamharrison and GitHub
3fe6665b9a
Nested Syntax Highlighting ( #160 )
2021-05-01 11:45:30 +02:00
adamharrison and GitHub
2e7817f609
Use the active view's filename when opening a file
2021-04-25 20:58:56 +02:00