Commit Graph

185 Commits

Author SHA1 Message Date
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
rxi 7cdf7dc44f Changed TreeView to first initialize its size in :update() 2020-05-07 14:03:37 +01:00
rxi 5acc391288 Added logging when project module is loaded 2020-05-07 13:41:39 +01:00
rxi 596b40c741 Made `find-replace:find-symbol` use first symbol in sel as default 2020-05-07 10:55:11 +01:00
rxi 3057786ce2 Moved `matches_pattern` from `syntax` to `common` 2020-05-07 10:27:37 +01:00
rxi e551052e91 Added icon to non-windows build 2020-05-06 19:49:34 +01:00
rxi 201c8ffe9f Added stdout flushing to build.py 2020-05-06 19:34:18 +01:00
rxi 73996e3dc9 Changed core to store `modified` and `size` in project_files table 2020-05-06 17:03:10 +01:00
rxi 5361bfaf9c Added open-[project|user]-module commands, renamed command/file finder commands 2020-05-06 14:48:04 +01:00
rxi 271e5434d0 Added support for a `.lite_project.lua` file in project directory 2020-05-06 13:29:35 +01:00
rxi 7610e1064f Added multiline support for LogView's messages 2020-05-06 00:06:27 +01:00
rxi 15cfbfbc46 Increased config.max_log_items from 20 to 80 2020-05-05 23:40:42 +01:00
rxi 9bd6efddd7 Made separator and separator2 fields of StatusView 2020-05-03 22:44:49 +01:00
rxi d5ffee51ff Added StatusView:get_items() 2020-05-03 18:47:55 +01:00
rxi 844dced7cd Simplified StatusView item drawing 2020-05-03 18:43:24 +01:00
rxi d859ce5fcd Added mapping for `shift+delete` to keymap 2020-05-03 18:37:06 +01:00
rxi 69e6550eba Added mappings for `ctrl+delete` and `ctrl+shift+delete` to keymap 2020-05-03 18:35:16 +01:00
rxi 05ca43e637 Changed rounding type on common.draw_text() 2020-05-03 16:48:35 +01:00
rxi 468905830f Fixed indentation in build.config.py 2020-05-02 17:58:20 +01:00
rxi 26d6e558f1 Added brightness transition to projectsearch text/line on complete 2020-05-02 16:53:03 +01:00
rxi 0967740d88 Improved findreplace replace log and commandview text 2020-05-02 14:45:33 +01:00
rxi 5155ce0527 Added `replace-symbol` command to findreplace plugin 2020-05-02 11:14:07 +01:00
rxi 9fc185af2f Added scroll bounds
Resolves #9
Resolves #6
Resolves #3
2020-05-02 00:21:04 +01:00
rxi 28cdd3cabe Minor cleanup in core.statusview and core.commands.core 2020-05-01 20:17:10 +01:00
rxi a9f3079c90 Added `refresh` command (`f5`) to projectsearch plugin's ResultView 2020-05-01 19:32:02 +01:00
rxi 4ca35fe056 Added command `doc:select-none`, added binding to `escape` 2020-05-01 19:25:17 +01:00
rxi 885ed5f860 Improved handling of zero-sized locked nodes on RootView 2020-05-01 16:17:07 +01:00
rxi ab8510291e Added find-replace:select-next, bound to ctrl+d by default 2020-05-01 10:21:57 +01:00
rxi 044fdb3655 Prevented scroll-animation when LogView is initialized 2020-04-30 14:44:52 +01:00
rxi 4d39dcaded Changed `View:get_content_offset()` to round resultant values
Avoids some issues that occur with fractional offsets, most noticable
on rectangles drawn on DocView jittering by 1-pixel when scrolling
2020-04-30 14:43:25 +01:00
rxi 2090379892 Fixed multiple links on one line in markdown syntax 2020-04-27 18:45:06 +01:00
rxi 439537d63e Fixed format string passed to core.error() in core.try() 2020-04-26 21:40:25 +01:00
rxi 16c1039666 Changed README to link to `releases/latest` instead of `releases` 2020-04-26 14:46:43 +01:00
rxi c8980a828f Version 1.02 2020-04-26 14:41:34 +01:00
rxi 64c58aafcd Updated README to link to lite-colors repo 2020-04-26 11:09:24 +01:00
rxi accf09c4f9 Changed printed filenames to use format-specifier "%s" instead of %q
Fixes #22
2020-04-25 13:26:55 +01:00
rxi c658b6f1ca Removed underscore from start of globals, added VERSION
eg. `_SCALE` => `SCALE`
prevents conflict with lua's own _NAME globals
2020-04-25 09:58:01 +01:00
rxi bd43ed3e3f Added _PLATFORM global 2020-04-23 20:03:14 +01:00