Commit Graph
47 Commits
Author SHA1 Message Date
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
AdamandGitHub 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
AdamandGitHub 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
AdamandGitHub 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
AdamandGitHub 804429e3b6 Merge pull request #266 from adamharrison/QuickOptimization
Replaced fill loop with SDL_FillRect.
2021-06-12 22:53:14 -04:00
AdamandGitHub 637b7f952d Merge pull request #256 from adamharrison/FixTabDragging
Allows you to drag nodes around splits.
2021-06-12 17:59:08 -04:00
AdamandGitHub 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
AdamandGitHub 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
AdamandGitHub a128790112 Update README.md
Changed invite link to be permanent.
2021-06-03 15:23:54 -04:00
AdamandGitHub 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
AdamandGitHub 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
AdamandGitHub 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
AdamandGitHub 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
AdamandGitHub 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
AdamandGitHub 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
AdamandGitHub 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
AdamandGitHub e43f1b9df9 Unified open and saving style. (#189) 2021-05-17 09:29:51 +02:00
AdamandGitHub 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
AdamandGitHub e54ffc49ea Added in keyboard shortcuts to the project search module. (#188) 2021-05-17 09:14:46 +02:00
AdamandGitHub c7b1a6f53e Allowed for optional boolean to better match filenames. (#180) 2021-05-16 19:23:17 +02:00
AdamandGitHub 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
AdamandGitHub 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
AdamandGitHub 67ec7e8065 Added in drag and drop capability. (#170) 2021-05-02 09:13:21 +02:00
AdamandGitHub e4da235f7e Made it so that you can continue clicking and still select things. (#166) 2021-05-01 22:32:50 +02:00
AdamandGitHub 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
adamharrisonandGitHub 3fe6665b9a Nested Syntax Highlighting (#160) 2021-05-01 11:45:30 +02:00
adamharrisonandGitHub 2e7817f609 Use the active view's filename when opening a file 2021-04-25 20:58:56 +02:00