Commit Graph

2323 Commits

Author SHA1 Message Date
rxi 6525269386 Made tokenizer skip parsing process on plain-text files
This, along with the earlier rencache changes should resolve #64
2020-05-14 10:10:50 +01:00
rxi bcd1b3a081 Fixed gutter text jittering when horizontal scrolling on docview 2020-05-14 10:06:47 +01:00
rxi 9bf0ed2419 Made rencache warn on exhausting command buffer instead of panicing 2020-05-14 08:52:07 +01:00
rxi 4c2c03ed4d Made draw_text/draw_rect not push command if result is not on-screen 2020-05-14 08:45:45 +01:00
rxi 2b32edf7f0 Added system.exec() to system api 2020-05-13 20:32:53 +01:00
rxi e4ae088bb5 Added support for shift+click selecting
Resolves #71
Resolves #59
2020-05-13 16:12:20 +01:00
rxi 1f55fec94b Fixed triple-clicking on last line not selecting the line 2020-05-13 09:29:53 +01:00
rxi ed86f7d04e Fixed find-replace:select-next erroring on multiline selection 2020-05-12 20:05:17 +01:00
rxi 7f6a2710ef Made clicking the message on the StatusView open a LogView 2020-05-12 14:44:29 +01:00
rxi 23cf193026 Fixed lua's multi-line comment syntax pattern
Resolves #86
Resolves #87
2020-05-12 10:12:49 +01:00
rxi ff2c7bf5e5 Added double-backtick support to language_md plugin
Resolves #80
2020-05-11 20:31:35 +01:00
rxi af36658e68 Added custom suggestions support to autocomplete
`autocomplete.add()` can now be used to add additional auto complete suggestions
with descriptions
2020-05-11 19:37:50 +01:00
rxi 2f659d5180
Merge pull request #81 from extrowerk/patch-1
Build fix
2020-05-11 13:31:33 +01:00
extrowerk a6013ff181
Build fix 2020-05-11 13:49:18 +02:00
rxi c215eff6d8 Improved idle CPU utilisation when not-focused, added system.wait_event() 2020-05-11 00:21:07 +01:00
rxi b67b680975 Changed get_scale() to always default to 1.0 on macOS 2020-05-10 19:32:01 +01:00
rxi f7b54db1b4 Added `icon.inl linguist-vendored` to .gitattributes 2020-05-10 15:54:09 +01:00
rxi 3067443432
Merge pull request #70 from cptx032/master
Fixing trimwhitespace plugin bug
2020-05-10 15:41:13 +01:00
Willie Lawrence a17fe46c05 Fixing trimwhitespace plugin bug 2020-05-10 11:26:44 -03:00
rxi c4be26ccaa Added .gitattributes 2020-05-10 14:07:16 +01:00
rxi 22f563e712 Merge branch 'master' of https://github.com/rxi/lite 2020-05-10 13:56:31 +01:00
rxi ae20c40554
Merge pull request #61 from inad9300/patch-1
Update language_js.lua
2020-05-10 13:54:45 +01:00
Daniel M 2ed29cae11
Put back get and set 2020-05-10 10:56:28 +02:00
Daniel M 3974971ff9
Update language_js.lua 2020-05-10 10:51:45 +02:00
rxi 543234c42e Removed redundant line from syntax highlighter 2020-05-10 09:20:06 +01:00
rxi 8671b02bdc Whitespace 2020-05-10 09:14:12 +01:00
rxi 143f8867a1 Version 1.03 2020-05-09 16:29:34 +01:00
rxi 3d49b6d200 Fixed highlighter resetting of syntax on doc filename change 2020-05-09 16:28:18 +01:00
rxi 70f62f3c8a Added `doc:rename` command; changed command_view:set_text to take `select` argument 2020-05-09 16:09:07 +01:00
rxi 7479c1380d Added commands `root:shrink` and `root:grow` 2020-05-09 14:40:26 +01:00
rxi b08f870f47 Added stripping of carriage-returns when pasting 2020-05-09 14:22:13 +01:00
rxi 78e729f580 Updated README screenshot 2020-05-09 11:45:50 +01:00
rxi ee19d4644d Updated icon 2020-05-09 11:33:16 +01:00
rxi ffdaec47e8 Default color theme adjustments 2020-05-09 11:10:19 +01:00
rxi dfcbc48aad Replaced `build.py/build.config.py` with `build.sh` 2020-05-09 11:01:28 +01:00
rxi 18b7d70a91 Fixed rare case where core.doc.highlighter would iterate out of line bounds 2020-05-09 09:09:39 +01:00
rxi a651d48e84 Wrapped `core.on_event` calls in `core.try` 2020-05-09 08:38:51 +01:00
rxi 22171fa802 Simplified core.step() 2020-05-08 20:44:53 +01:00
rxi 31820b36ef Moved `syntax` from `doc.highlighter` to `doc` 2020-05-08 20:29:22 +01:00
rxi a754c60127 README improvements 2020-05-08 20:22:53 +01:00
rxi 2642f7443f Added default text to find-replace's "new text" input 2020-05-08 13:55:23 +01:00
rxi b2756d8a49 Removed xalloc.c/h 2020-05-08 13:41:39 +01:00
rxi 1d2a0aada5 Made `doc:toggle-line-comments` command skip empty lines 2020-05-08 09:07:13 +01:00
rxi bf8565d2a1 Fixed `doc:toggle-line-comments` for syntax highlighter relocation 2020-05-07 23:11:04 +01:00
rxi 95bdb07d49 Removed unused variables 2020-05-07 22:40:34 +01:00
rxi de94c8a13c Removed unused variables in core.init 2020-05-07 22:25:52 +01:00
rxi 774d95d800 Comment improvement in rencache.c 2020-05-07 22:24:12 +01:00
rxi 762c1e2b69 Fixed RootView's EmptyView keymap text
Broke due to command renaming
2020-05-07 21:46:21 +01:00
rxi f5025efbb8 Moved highlighter code from `DocView` to `Doc`
* Only one highlighter state is kept per-document as opposed
  to one per-docview
* Fixes a bug with retaining older highlighter state as a
  DocView wasn't able to detect lines changing above it's viewport
* Renames `highlighter` module to more descriptive `tokenizer`
2020-05-07 21:14:46 +01:00
rxi ae42176953 Renamed `common.matches_pattern` => `common.match_pattern` 2020-05-07 14:18:46 +01:00