rxi
18de4552e2
Made tab's text left-aligned if wider than the tab
2020-06-03 13:34:10 +01:00
rxi
4b167e86c6
Fixed bug in Highlighter.invalidate() when setting first_invalid_line
...
The value should not be updated if the current first_invalid_line is less than
the new invalid line index
2020-06-02 22:50:03 +01:00
rxi
f00d5d55df
Version 1.06
2020-05-31 16:53:53 +01:00
rxi
508b6fb73a
Improved RootView's EmptyView
2020-05-30 14:58:31 +01:00
rxi
db8c5ea2aa
Renamed core:command/file-finder => core:find-command/file
2020-05-30 09:11:42 +01:00
rxi
7fbefe40d5
Made system.set_window_title only be called on title change
2020-05-30 08:53:48 +01:00
rxi
cc58fcc35b
Changed summer color theme's caret color
2020-05-29 17:19:27 +01:00
rxi
b96609b7b8
Removed redundant __APPLE__ case in get_scale()
2020-05-29 09:33:42 +01:00
rxi
1b2fda2825
Changed block movement to mimic word movement
2020-05-28 13:55:25 +01:00
rxi
9c652086e8
Improved behaviour of and renamed translate.next|previous_word_boundary
2020-05-28 11:57:53 +01:00
rxi
74755f5b4a
Simplified implementation of core.temp_filename()
2020-05-27 11:38:42 +01:00
rxi
e7cf551e22
Changed EmptyView text from empty to lite
2020-05-26 10:33:07 +01:00
rxi
064b6d0b95
Fixed changing of cwd and loading of commandline files
...
the current-working-directory is now set at the start of `core.init` after the
absolute path for all filename arguments have been resolved
2020-05-26 10:26:20 +01:00
rxi
257b9ab753
Added core.temp_filename()
2020-05-25 08:58:12 +01:00
rxi
61a2a2c4e5
Version 1.05
2020-05-24 13:52:10 +01:00
rxi
c2d27ab3f7
Removed core.project_dir
2020-05-24 13:50:32 +01:00
rxi
82e33dd2de
Moved event-waiting when not focused to after run_threads()
2020-05-24 13:43:34 +01:00
rxi
946c125fd4
Changed core.redraw to be set to true by default
...
As the window isn't created until the first frame is drawn this is required to
assure the window is ever shown without relying on the assumption that some
other part of the program would have set this to true
2020-05-24 08:04:47 +01:00
rxi
61092fbb99
Changed fuzzy matching to favour matching case
2020-05-23 15:08:38 +01:00
rxi
28b1844a8b
Added support for dropping a folder onto the window
2020-05-23 11:31:08 +01:00
rxi
e45b3e2bc0
Minor renaming in rootview
2020-05-23 09:40:42 +01:00
rxi
e6a2770e2e
Merge branch 'master' of https://github.com/rxi/lite
2020-05-22 18:59:59 +01:00
rxi and GitHub
71fb50ece0
Merge pull request #111 from waywardmonkeys/fix-tmpnam-warning
...
Enable LUA_USE_POSIX, fix tmpnam warning on macOS.
2020-05-22 18:59:42 +01:00
rxi
e7320c2291
Made RootView:open_doc() try to use previous node if current node is locked
2020-05-22 15:50:27 +01:00
rxi
35b642d434
Added rencache invalidation on window-exposed event
...
Fixes #63
2020-05-22 09:00:48 +01:00
rxi
35ce3d32a9
Fixed string quoting on windows in system.exec()
2020-05-22 08:11:05 +01:00
rxi
6b39fb6dfb
Changed autoreload to strip carriage-returns on reload
2020-05-21 09:58:47 +01:00
rxi
7aabfebfa0
Fixed mouse-position resolution when dropping a file
2020-05-20 10:33:08 +01:00
rxi
08ce7e2563
Fixed stuck mouse-drag-selection on dropped-file
...
Resolves #109
2020-05-20 09:52:01 +01:00
rxi
bc4bf3d384
Added core.set_active_view(); removed focusable boolean from View
2020-05-19 14:55:46 +01:00
rxi
8ec717f240
Added temporary backwards compatibility for core.project_dir
2020-05-18 10:28:01 +01:00
rxi
4ae0d477c0
Made lite set project dir to CWD; removed core.project_dir
...
Fixes #100
2020-05-17 17:05:56 +01:00
rxi
c1f731e5a1
Fixed EXEDIR having trailing slash
2020-05-17 16:58:32 +01:00
rxi
adad2a65be
Version 1.04
2020-05-17 14:58:44 +01:00
rxi
adecaba292
Removed unused varibale in ./data/plugins/treeview.lua
2020-05-17 14:02:49 +01:00
rxi
4644154e5b
Added config.ignore_files
...
Filenames that match either the single pattern provided by
`config.ignore_files`, or any pattern in a table of patterns, will be ignored
when lite is filling the `core.project_files` table
Resolves #77
Resolves #102
2020-05-17 13:38:45 +01:00
rxi
1abb979490
Added null-checks for all push_command() calls in rencache.c
2020-05-17 13:18:26 +01:00
rxi
82fdc63c6a
Added global EXEFILE
2020-05-17 09:36:46 +01:00
rxi
7e7602c53c
Removed exec plugin -- moved to lite-plugins repo
2020-05-16 10:06:35 +01:00
rxi
59f5692f2e
Merge branch 'master' of https://github.com/rxi/lite
2020-05-16 10:00:13 +01:00
rxi and GitHub
0dd4811465
Merge pull request #101 from demotulatingswan/master
...
Fixed various issues in exec:replace
2020-05-16 09:59:58 +01:00
rxi
bc3147e1d0
Changed config.mouse_wheel_scroll default to multiply by SCALE
2020-05-16 09:46:31 +01:00
rxi
15129b49a6
Moved config.treeview_size from config.lua to treeview.lua
2020-05-16 09:44:31 +01:00
rxi
5102088aca
Deferred showing window until after the first frame has rendered
...
Fixes #97
2020-05-14 23:06:14 +01:00
rxi
b8d2805502
Exposed doc's internal insert/remove: Doc:raw_insert|remove
2020-05-14 16:40:50 +01:00
rxi
ef53453246
Fixed x-offset of text in DocView:draw_line_gutter
2020-05-14 13:26:21 +01:00
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 and GitHub
2f659d5180
Merge pull request #81 from extrowerk/patch-1
...
Build fix
2020-05-11 13:31:33 +01: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 and GitHub
3067443432
Merge pull request #70 from cptx032/master
...
Fixing trimwhitespace plugin bug
2020-05-10 15:41:13 +01: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 and GitHub
ae20c40554
Merge pull request #61 from inad9300/patch-1
...
Update language_js.lua
2020-05-10 13:54:45 +01: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
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