Francesco Abbate
67dc16ad26
Make windows control buttons active
2021-04-11 23:52:31 +02:00
Francesco Abbate
8ad87d77da
Add correct hit-test information and menu icon
2021-04-11 15:08:25 +02:00
Francesco Abbate
7531a0ddc8
Preliminary implementation of border-less mode
...
Not yet functional but most ingredients are there
2021-04-10 19:35:57 +02:00
Francesco Abbate
b1c1deb4c4
Remove no longer used system.show_confirm_dialog
...
Replaced by the NagView dialog
2021-04-06 07:12:33 +02:00
Francesco Abbate
4b3b8f430a
Merge remote-tracking branch 'basinbaby/set-window-opacity'
...
Implement the suggestion and close #125 .
Initial suggestion and implementation from
https://github.com/rxi/lite/pull/17
2021-03-23 07:15:18 +01:00
Francesco Abbate
a4bc8986ff
Implement fatal error message box
...
Used when lite-xl fails at startup
2021-03-05 10:33:50 +01:00
Francesco Abbate
2cdf674b97
Keep memory of window's size and position and restore them on start
...
Fix also a problem with directory path on windows.
2020-12-31 11:25:12 +01:00
Francesco Abbate
a337f893d9
Implement user's config as init file and add directory into package.path
...
Create the user's config init file if lite user's config directory does
not exists.
No longer use the awkward package.searchers but instead add user's
config dir at the end of package path.
2020-12-02 16:03:31 +01:00
Francesco Abbate
70412b520b
Fix cursor blinking problem
...
The problem was that when the editor had no events the cursor was not
blinking because the event loop was blocking on wait_event.
Now we no longer calls wait_event without a timeout if the windows has
the focus. When the window has the focus the timeout is set to 1 / fps
so that the cursor can blinks.
In addition we react to the "focus lost" event to ensure the documents
are redrawn without the cursor.
2020-11-21 16:36:32 +01:00
Francesco Abbate
77a9819f4e
Fix SDL2 include directives
2020-06-29 15:24:08 +02:00
Francesco Abbate
5c3d4163d3
Modify system.wait_event to wait indefinitely if no timeout is given
2020-06-16 14:53:01 +02:00
rxi
61092fbb99
Changed fuzzy matching to favour matching case
2020-05-23 15:08:38 +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
7aabfebfa0
Fixed mouse-position resolution when dropping a file
2020-05-20 10:33:08 +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
2b32edf7f0
Added system.exec() to system api
2020-05-13 20:32:53 +01:00
rxi
c215eff6d8
Improved idle CPU utilisation when not-focused, added system.wait_event()
2020-05-11 00:21:07 +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
d4284edd5c
Replaced system.set_fullscreen with system.set_window_mode
...
Solves #24
2020-04-07 18:49:11 +01:00
rxi
efed38d59c
Added system.set_fullscreen() and core:toggle-fullscreen command
2020-03-25 22:44:59 +00:00
basinbaby
f37f22fb5f
Added set_window_opacity function
2020-02-07 13:01:56 +00:00
rxi
d8c4bfa6ba
Initial commit
2019-12-28 11:17:56 +00:00