Francesco Abbate
9c43727ebc
Implement directory monitoring using septag/dmon
...
Use a notification based directory monitoring based on the
septag/dmon lirbary instead of periodically rescan the whole
project's tree.
2021-10-08 21:31:22 +02:00
Francesco Abbate
92362586df
Improve highlither for document edits
...
The syntax highlighter keep a cache of the documents like tokenization.
In order to minimize the amount of tokenize re-computations we insert some
emtty lines or remove some lines in the highlither lines corresponding to
the lines added or removed to the document.
2021-10-08 21:28:27 +02:00
Francesco Abbate
7a435a568a
Fix error in incremental syntax highlighter
...
In the highlither thread We should accept a previously generated line tokenization
past first_invalid_line only if the text is the same. The text can change because of
insert or remove operations.
Close #573 .
2021-10-08 21:27:57 +02:00
Adam Harrison
fe787de97a
Fixed clip boundaries.
2021-10-07 18:54:23 -04:00
Francesco Abbate
44d7f3738f
Improve highlither for document edits
...
The syntax highlighter keep a cache of the documents like tokenization.
In order to minimize the amount of tokenize re-computations we insert some
emtty lines or remove some lines in the highlither lines corresponding to
the lines added or removed to the document.
2021-10-07 19:19:08 +02:00
Francesco Abbate
8477818c96
Fix error in incremental syntax highlighter
...
In the highlither thread We should accept a previously generated line tokenization
past first_invalid_line only if the text is the same. The text can change because of
insert or remove operations.
Close #573 .
2021-10-07 19:03:16 +02:00
Takase
b128d8b4c4
update process API docs
...
- add more description to each option
- add disclaimer that process.REDIRECT_DEFAULT should no longer be used
2021-10-04 12:32:48 +08:00
Adam
6264caffe1
Merge pull request #576 from adamharrison/fix-negative-pens
...
Fixed negative pens.
2021-10-02 16:31:42 -04:00
Francesco
9fb166d3cc
Merge pull request #575 from Guldoman/sanitize_selection_redo
...
Sanitize selections after redo
2021-10-02 22:16:30 +02:00
Guldoman
db3643653e
Sanitize selections after redo
2021-10-02 22:03:52 +02:00
Adam Harrison
26ec2d7090
Fixed negative pens.
2021-10-02 14:13:39 -04:00
Francesco
eb79381c89
Merge pull request #521 from adamharrison/remove-font-renderer
...
Remove Font Renderer + CP Replace + libagg
2021-10-02 18:45:31 +02:00
Francesco Abbate
3589031579
Bump version number
2021-10-02 18:44:27 +02:00
Francesco Abbate
72c950338c
Enable always show tabs by default
2021-10-02 18:44:05 +02:00
Guldoman
20ddbd6e9f
Load project module on project change ( #571 )
2021-10-02 18:39:23 +02:00
Guldoman
57bfb67f6a
Add option to disable caret blinking ( #572 )
2021-10-02 18:39:23 +02:00
Guldoman
468229e4d0
Small cleanup of `scale` plugin
2021-10-02 18:39:23 +02:00
Guldoman
f6b9d9ab67
Add option to disable scrolling past the end ( #566 )
2021-10-02 18:39:22 +02:00
Rongfei Wang
b0b3485152
Remove duplicate command declaration ( #565 )
2021-10-02 18:39:22 +02:00
Jean-André Santoni
0b4d1e2bce
Fix the size and blurriness of the icon on OSX ( #553 )
...
* Fix the size and blurriness of the icon on OSX
* Don't nest ifndef
* Fix
2021-10-02 18:39:22 +02:00
Not-a-web-Developer
a97a3d80da
fixed the build link in readme.md
2021-10-02 18:39:21 +02:00
Adam
6aa316e3c3
Rearranged DPI calc so that on calc failure, returns 1. ( #547 )
2021-10-02 18:39:21 +02:00
Adam
ed3ea35ed5
Potentially fixing issue with cache not invalidating on restart. ( #548 )
2021-10-02 18:39:21 +02:00
Adam Harrison
291616df3f
Removed extra macros, used PLATFORM. Also removed MACOS, as it's redundant C code that's already encapsulated within PLATFORM.
2021-10-02 18:39:03 +02:00
Francesco Abbate
34983668d8
Normalize to project dir in treeview open
...
When left-clicking in a TreeView file we use now
core.normalize_to_project_dir to normalize correctly
the file name.
2021-10-02 18:37:01 +02:00
Francesco Abbate
d067cc8577
Scale custom syntax fonts for scale plugin
...
Close #539 .
2021-10-02 18:37:01 +02:00
Francesco Abbate
48475c70a0
Avoid unnecessary call to SDL_GetModState
2021-10-02 18:37:01 +02:00
Adam
ab73f914ad
Added in custom runtime environment variable for ease of testing. ( #538 )
2021-10-02 18:37:00 +02:00
Guldoman
e2f7c984de
Reset syntax highlighting on file rename
2021-10-02 18:37:00 +02:00
Francesco
0ff0ee2c61
Fix numpad fn keys ( #532 )
...
* Fix the numeric keypad function keys
As suggested in:
https://github.com/lite-xl/lite-xl/issues/64
* Apply scancode lookup to KEY_UP events
2021-10-02 18:37:00 +02:00
Guldoman
d817944170
Force showing tabs when dragging them
2021-10-02 18:37:00 +02:00
Guldoman
dced6da03d
Implement tab drag and drop
2021-10-02 18:36:59 +02:00
Guldoman
86632b68de
Move single tab drawing to its own function
2021-10-02 18:36:59 +02:00
Adam Harrison
f80f920bda
Added in suggested changes.
2021-10-02 12:25:52 -04:00
Adam Harrison
ee61b34084
Turned off whitespace by default.
2021-10-02 12:23:32 -04:00
Guldoman
bf06aa1c4d
Load project module on project change ( #571 )
2021-10-02 16:38:45 +02:00
Guldoman
b5f0b340d2
Add option to disable caret blinking ( #572 )
2021-10-02 16:38:10 +02:00
Adam Harrison
c5f60a7865
Fixed issues if one got into high codepoint ranges.
2021-10-01 23:56:36 -04:00
Guldoman
3b280401e4
Small cleanup of `scale` plugin
2021-10-02 03:24:35 +02:00
Adam Harrison
531cd3bedb
Fixed issue with metrics.
2021-10-01 21:20:44 -04:00
Guldoman
ab0ca031fa
Add option to disable scrolling past the end ( #566 )
2021-09-30 13:10:38 -07:00
Rongfei Wang
cf11d67895
Remove duplicate command declaration ( #565 )
2021-09-30 13:38:32 +02:00
Jean-André Santoni
eb73ad3f8a
Fix the size and blurriness of the icon on OSX ( #553 )
...
* Fix the size and blurriness of the icon on OSX
* Don't nest ifndef
* Fix
2021-09-29 22:22:00 +02:00
Adam
f0a3f50e6a
Merge pull request #551 from Not-a-web-Developer/master
...
fixed the build link in readme.md
2021-09-27 10:21:41 -04:00
Not-a-web-Developer
86bf023c90
fixed the build link in readme.md
2021-09-27 19:29:25 +05:30
Adam Harrison
7a21ec382f
Unecessary call..
2021-09-26 20:09:51 -04:00
Adam Harrison
4690459a13
Used different weights.
2021-09-26 19:46:32 -04:00
Adam
8f8af19cbe
Rearranged DPI calc so that on calc failure, returns 1. ( #547 )
2021-09-26 16:21:57 +02:00
Adam
84622a0009
Potentially fixing issue with cache not invalidating on restart. ( #548 )
2021-09-26 16:18:13 +02:00
Adam Harrison
ecbdb7a945
Reverted bledthrough changes.
2021-09-25 13:01:01 -04:00