Francesco Abbate
0f1b84040d
No longer store autocomplete options in config
...
Plugins should not store private stuff in core.config because this
latter can be reloaded due to user changing preferences.
2021-12-28 12:25:48 +01:00
Francesco Abbate
1f0785b73f
Scan project folder after project module is loaded
...
Otherwise the initial scan of the project folder is done without
taking into account the config.ignore_files directives.
2021-12-28 10:59:01 +01:00
Adam
1e6046e499
Merge pull request #763 from Jipok/portable_try
...
Support portable user config(Fix #762 )
2021-12-26 16:59:13 -05:00
takase1121
33f7fe4fda
toggle comment for whole line if nothing is selected
2021-12-26 15:12:28 +08:00
takase1121
69a857bbbf
fallback to toggle-line-comment and vice versa if needed
2021-12-26 15:05:27 +08:00
takase1121
4d31b1bc40
add toggle-block-comment
2021-12-25 12:57:00 +08:00
takase1121
16df6d8bce
add option for initial size
2021-12-24 21:32:28 +08:00
takase1121
84a3906323
fix FontGroup __gc method
2021-12-24 15:04:52 +08:00
Adam
4be8a8b582
Merge pull request #764 from lorsatti/master
...
Add CFBundleIdentifier to Info.plist.in
2021-12-23 19:55:41 -05:00
Guldoman
d16e46dba5
Update website location
2021-12-23 23:26:52 +01:00
Guldoman
a122d7e916
Correct `get_key_name` comment
2021-12-23 00:06:24 +01:00
Guldoman
eac82e69fb
Add parameters to `core.on_dirmonitor_{modify,delete}`
2021-12-22 23:43:56 +01:00
Francesco Abbate
9155be7a22
Ensure TreeView cache entry is removed on delete
...
Address issue:
https://github.com/lite-xl/lite-xl/issues/689
Attempt to provide a more accurate fix to commit:
59f64088e1
For this latter what happens is that any change inside a directory
cause the corresponding entry to be folded in the TreeView.
The new change is more accurate because we remove only the stale
entry corresponding to the delete event and we do not reset the
cache of the parent directory using the modify event.
2021-12-22 23:40:54 +01:00
Guldoman
9e7bdf49e9
Revert "Merge pull request #697 from Guldoman/treeview_remove_changed"
...
This reverts commit 4e078cc217
, reversing
changes made to 0c488c9492
.
2021-12-22 23:39:26 +01:00
Lorenzo Orsatti
66bc551488
Add CFBundleIdentifier to Info.plist.in
...
The CFBundleIdentifier key is necessary to associate lite-xl application to all files with a certain extension.
2021-12-22 22:18:22 +01:00
Jipok
a19baeacb1
Support portable user config( Fix #762 )
2021-12-22 23:36:03 +05:00
takase1121
00e2e281d3
remove unsaved flag from log.txt
2021-12-22 10:54:25 +08:00
takase1121
2f65d5a26f
make the date field consistent
2021-12-22 10:53:53 +08:00
takase1121
8f06ef9b81
ensure date is rendered properly
2021-12-22 10:50:35 +08:00
Adam
590c8bb456
Merge pull request #759 from Jipok/again
...
Support for remaped special keys(Fix #757 )
2021-12-21 19:56:33 -05:00
Adam
e0d0d17c4d
Merge pull request #760 from adamharrison/fix-multiline-paste-system-clipboard
...
Restore External Paste to Non-Multiline Paste
2021-12-21 17:15:03 -05:00
Adam Harrison
978550d2a2
Restores external pastes to be normal pastes.
2021-12-21 16:23:34 -05:00
Jipok
773a85cd2d
Support for remaped special keys( Fix #757 )
2021-12-22 02:22:34 +05:00
Adam
61379a9ab8
Merge pull request #713 from Jipok/master
...
Copy/cut whole line if selection empty
2021-12-21 15:53:12 -05:00
takase1121
54f6579e9d
change INFO to use style.text
2021-12-21 17:38:25 +08:00
takase1121
3e175f5ad5
Merge branch 'master' of github.com:lite-xl/lite-xl into better-logview
2021-12-21 17:37:19 +08:00
takase1121
8d7867d118
adapt style.good and style.error
2021-12-21 17:36:32 +08:00
Adam
8101c1eae3
Merge pull request #749 from Jipok/new_colors
...
Add predefined colors to style.lua: good, warn, error, modified
2021-12-20 23:06:28 -05:00
Adam
19c239de42
Merge pull request #752 from Jipok/rgba_hex_fix
...
Support rgba hex format
2021-12-20 19:07:38 -05:00
Adam Harrison
5ee465f382
Removed legacy reproc.wrap.
2021-12-20 18:35:24 -05:00
Jipok
6c1c983d1c
rootview.lua: Refactor Node:draw_tab
2021-12-21 02:20:31 +05:00
Jipok
941b283681
Support rgba hex format
2021-12-20 23:54:03 +05:00
Francesco Abbate
50247fcd92
Move to 2.0.4 version number
2021-12-20 16:19:15 +01:00
Francesco Abbate
3109263c5d
Call dmon_unwatch when changing project
...
Fix a conspicuous omission to call the dmon_unwatch function
when changing project directory.
This uncovered a bug or a quirk of the dmon library where the watch_ids
can change as a result of calling dmon_unwatch because they are just
indexes on a contiguous array. Use a workaround to always unwatch the
first valid watch_id N times.
2021-12-20 14:42:48 +01:00
Jipok
8178fc46bb
Add some comments to style
2021-12-20 17:12:37 +05:00
Takase
f2ff32d5a7
Merge pull request #583 from takase1121/process-docs-update
...
update process API docs
2021-12-20 20:06:18 +08:00
Jipok
c353dd6eda
Add for config.highlight_current_line new variant: no_selection
2021-12-20 16:23:01 +05:00
Guldoman
29318be9c7
Consume unmatched character correctly
...
We must consume the whole UTF-8 character, not just a single byte.
2021-12-20 12:04:20 +01:00
Francesco Abbate
37c00c877a
Ensure TreeView cache entry is removed on delete
...
Address issue:
https://github.com/lite-xl/lite-xl/issues/689
Attempt to provide a more accurate fix to commit:
59f64088e1
For this latter what happens is that any change inside a directory
cause the corresponding entry to be folded in the TreeView.
The new change is more accurate because we remove only the stale
entry corresponding to the delete event and we do not reset the
cache of the parent directory using the modify event.
2021-12-20 11:03:49 +01:00
Francesco Abbate
405bd1c2bd
Fix logic in project's file insertion
...
The function "file_search" in core.init was sometimes giving a wrong index
value, off by one.
The problem happened for example when the entry to search was "less than"
the first entry, the function returned a value of two instead of one as
expected.
The bug was easily observed creating a new directory with a name that comes
as the first in alphabetical order within the project.
2021-12-20 09:05:45 +01:00
Adam Harrison
e512c57637
Added an exclusion for lineguide in the commandview.
2021-12-20 08:43:48 +01:00
Guldoman
23f83857c5
Don't search if there are no files
2021-12-20 08:40:43 +01:00
Jipok
0461d3bdce
Predifined colors: good, warn, error, modified
2021-12-20 01:51:52 +05:00
Jipok
4183d3b2fd
Add predefined colors to style: good, bad
2021-12-20 01:27:53 +05:00
Guldoman
2e9619f630
Directly link to our repo
2021-12-19 18:13:19 +01:00
Guldoman
4cf9d85986
Use new color themes repo
2021-12-19 18:12:34 +01:00
Adam
4d5d3e2565
Update README.md
2021-12-18 22:37:33 -05:00
takase1121
695c7bf781
add instruction when logview is open
2021-12-19 09:36:43 +08:00
takase1121
1526cd176c
move selection logic to mouse click
2021-12-19 09:36:24 +08:00
Adam Harrison
9cf795dabf
Forgot a line or two.
2021-12-18 15:43:44 -05:00