Commit Graph

1701 Commits

Author SHA1 Message Date
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
rxi 592c16f3e0 Fixed rounding of CommandView suggestion popup box 2020-04-22 19:25:47 +01:00
rxi 03eee86ddb Made font.gc() do null-check in case font.load() failed 2020-04-22 00:41:23 +01:00
rxi 9a32a00c73 Made core.log/error store call location instead of view 2020-04-22 00:02:35 +01:00
rxi 59881f81a6 Fixed common.path_suggest() for system.list_dir() changes 2020-04-21 23:47:01 +01:00
rxi 73e96c2641 Made project_scan_thread() ignore directories it can't open
Should fix #30 and #7
2020-04-21 23:43:35 +01:00
rxi a9b4bdf602 Made system.get_file_info() and list_dir() return (nil,msg) on error 2020-04-21 23:33:04 +01:00
rxi 4191cf2c08 Added `core.try` wrapping of function passed to `core.add_thread` 2020-04-21 23:23:34 +01:00
rxi b7ec7a6acf core.doc.translate comment fix 2020-04-21 23:15:43 +01:00
rxi b0e82f297e Changed lua syntax to map label to function color 2020-04-21 22:56:27 +01:00
rxi de9bdc43fb
Merge pull request #34 from luveti/lua-goto
Added goto to lua language plugin
2020-04-21 22:52:39 +01:00
luveti 6ca88473c0 Added goto to lua language plugin 2020-04-21 15:36:58 -04:00
rxi 55d7fa58d0 Removed fake mouse-moved event on scroll change
This ends up causing more problems than it solves; Fixes #29
2020-04-19 17:21:27 +01:00
rxi 503d5101b5 Reorganising of DocView's draw functions
* Renamed `draw_line_body` => `draw_line_main`
* Renamed `draw_gutter_text` => `draw_line_gutter`
* Added `draw_line_text` for *just* the line text
2020-04-18 15:27:18 +01:00
rxi 7046bfca24 Made cut/copy no-op if there is no selection 2020-04-12 11:22:16 +01:00
rxi 1be7a32c6b Fixed error on setting active view when closing certain splits in RootView 2020-04-12 11:14:49 +01:00
rxi d4284edd5c Replaced system.set_fullscreen with system.set_window_mode
Solves #24
2020-04-07 18:49:11 +01:00
rxi 2a5a36f64e Changed mapping of collapsed/expanded icons on icon font 2020-03-25 23:36:56 +00:00
rxi efed38d59c Added system.set_fullscreen() and core:toggle-fullscreen command 2020-03-25 22:44:59 +00:00
rxi 1e9c3bef1f Fixed autoreload plugin truncating last character of files with no newline at end 2020-03-24 19:48:27 +00:00
rxi 764b43494e Moved .c, .lua and .md language syntaxes from core.syntax to plugins 2020-03-07 15:53:54 +00:00
rxi 42f7f81188 Added `union`, `short` and `long` keywords to .c syntax 2020-03-07 15:50:52 +00:00
rxi 2eab24032b Made up/down commands on projectsearch ResultView scroll view
Fixes #14
2020-02-22 13:36:08 +00:00
basinbaby f37f22fb5f Added set_window_opacity function 2020-02-07 13:01:56 +00:00
rxi 613f9c2ba6 Changed renderer to make tab and newline glyphs invisible
Fixes #16
2020-02-05 20:16:09 +00:00
rxi 33ad329f24 Changed DocView not to strip trailing `\n` character on line's final token 2020-02-05 20:09:58 +00:00
rxi 36b77171c4
Merge pull request #15 from richiefreedom/fix-node-navigation
Fixed root:switch-to-* command
2020-02-01 16:44:58 +00:00
Sergei V. Rogachev 7e868e14e6 Fixed root:switch-to-* command
Before the fix navigation between nodes in the root
view was broken: the scale factor wasn't taken into
account. Switching in the right and down directions
was impossible for scale factors greater than one.
2020-02-01 17:56:47 +03:00
rxi 719262a416 Added missing `volatile` keyword to C syntax 2020-01-25 13:54:42 +00:00
rxi 13c2f55019 Updated copyright year; 2019 => 2020 2020-01-01 16:00:39 +00:00
rxi 86800281c9 Made get_exe_dir() static; removed accidental `const` 2020-01-01 13:25:04 +00:00
rxi ba86b58b80 Added better resolution of exe directory; should fix #1 2019-12-31 10:53:31 +00:00
rxi 3c59abba0b Made keymap treat `right alt` as `altgr` modkey 2019-12-29 16:32:04 +00:00
rxi 2c3e393a6f Changed keymap to only treat `left alt` as `alt` modkey
This prevents AltGr from being treated as the `alt` modkey. Previously
its default behaviour would have been overridden if the keymap had an
`alt+...` stroke bound
2019-12-29 16:09:56 +00:00
rxi b798825e7c Updated `Get` section of README 2019-12-28 14:01:54 +00:00
rxi f96b08dfc8 Fixed links in README.md 2019-12-28 11:22:32 +00:00