Commit Graph
27 Commits
Author SHA1 Message Date
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