Francesco Abbate
91e30113cd
Use better LCD filter weight for subpixel rendering
...
Based on:
https://freetype.org/freetype2/docs/reference/ft2-lcd_rendering.html
the coefficients should be normalized which was not the case. We use
the values previously used with the AGG library implementation. The
new coefficients are normalized and creates maybe less color fringes.
Ultimately it is difficult and subjective to say which coefficients are
better and the answer may depends on the vision of the person or on the
characteristics of the used monitor.
2021-12-15 14:52:34 +01:00
Adam
997b3efbb7
Merge pull request #708 from Guldoman/treeview_styling
...
Allow `TreeView` item icon and text styling
2021-12-12 12:04:59 -05:00
Adam
dadfa4b3e8
Merge pull request #729 from adamharrison/fix-treeview-clicking
...
Fix TreeView and StatusView clicking
2021-12-11 19:05:52 -05:00
Adam
9a813c818b
Merge pull request #715 from Guldoman/split_rootview
...
Split `Node` and `EmptyView` from `RootView`
2021-12-11 18:15:33 -05:00
Adam Harrison
ff5c3c1492
Also fixed statusview.
2021-12-11 18:00:42 -05:00
Adam Harrison
95945d86ab
Removed erroneously added file.
2021-12-11 17:51:51 -05:00
Adam Harrison
7b55470159
Fixed treeview clicking not being caught.
2021-12-11 17:51:19 -05:00
Adam
29ece95962
Merge pull request #725 from Guldoman/fix_consume_no_match
...
Consume unmatched character correctly
2021-12-11 15:35:22 -05:00
Adam
f1054b8280
Replace Reproc ( #535 )
...
Replace reproc with simpler non-dependency-based process API.
2021-12-11 15:25:35 -05:00
Adam
a1401efd1f
Merge pull request #728 from Jipok/shortcuts_locale_fix
...
Keyboard layout independent shortcuts
2021-12-11 15:18:47 -05:00
Jipok
c3b7234315
Keyboard layout independent shortcuts
2021-12-11 23:42:15 +05:00
Guldoman
4faaf089ef
Consume unmatched character correctly
...
We must consume the whole UTF-8 character, not just a single byte.
2021-12-11 03:43:33 +01:00
Guldoman
c16d6b3d8d
Avoid drawing hidden `TreeView` items
2021-12-07 21:45:20 +01:00
Guldoman
fdb29f28cf
Split `TreeView:draw` into multiple functions
...
This allows plugins to override each aspect of TreeView item drawing.
2021-12-07 21:44:20 +01:00
Guldoman
7cb2068bb8
Split `Node` and `EmptyView` from `RootView`
2021-12-06 22:28:29 +01:00
Adam
994c62b64a
Merge pull request #497 from lite-xl/fix-javascript-regexp-syntax
...
Try to fix problem with js syntax of '/=' operator
2021-12-06 00:17:07 -05:00
Adam
4b3d25e15a
Merge pull request #657 from takase1121/plugin_api_h_fix
...
fixing native plugin API
2021-12-05 22:11:53 -05:00
Adam
8120654c59
Merge branch 'master' into plugin_api_h_fix
2021-12-05 22:11:47 -05:00
Adam
2997aa2652
Merge pull request #705 from Guldoman/check_if_proj_dir
...
Check the entire path in `TreeView` predicate
2021-12-05 14:23:34 -05:00
Adam
a70e7e945e
Merge pull request #712 from Nightwing13/dev
...
Improved Markdown syntax highlighting
2021-12-05 14:15:53 -05:00
Nightwing
0705c23c35
Improved Markdown syntax highlighter
2021-12-03 23:50:23 +09:00
Guldoman
5029e2ce29
Add name to plain text fallback syntax
2021-12-02 22:34:49 +01:00
takase1121
d307c57d05
update header
2021-12-01 20:44:17 +08:00
takase1121
aff1261b08
move NULL check to import side
2021-12-01 20:42:49 +08:00
Guldoman
d7afcb08b1
Check the entire path in `TreeView` `new-file` and `new-folder` commands
2021-11-30 01:11:35 +01:00
Guldoman
e500368ce4
Allow `TreeView` item icon and text styling
2021-11-29 23:36:49 +01:00
Guldoman
ef4c02ab0e
Check the entire path in `TreeView` predicate
2021-11-28 07:16:53 +01:00
Adam
7b82d787c0
Merge pull request #702 from adamharrison/fix-project-ignores
...
Used basenames for ignore_files rather than full paths.
2021-11-27 14:33:03 -05:00
Adam Harrison
01e38f041a
Used basenames for ignore_files rather than full paths.
2021-11-27 13:16:49 -05:00
Adam
a607ef95f9
Merge pull request #682 from Guldoman/indent_refactor
...
Refactor how to get the indentation of a `Doc`
2021-11-27 11:55:36 -05:00
Adam
4767ffe58d
Merge pull request #693 from adamharrison/fix-scrollbar-split
...
Added in check to make sure you can use a scrollbar on a split.
2021-11-27 11:44:22 -05:00
Adam
1b22c85dd5
Merge pull request #694 from adamharrison/fix-context-menu
...
Added in cut, copy and paste to the context menu, amongst other things.
2021-11-27 11:44:10 -05:00
Adam
e56fd4c05a
Merge pull request #701 from jminor/master
...
Removed docs for *_subpixel functions which no longer exist
2021-11-27 10:00:09 -05:00
Joshua Minor
272ecd64bf
Removed docs for get_width_subpixel and subpixel_scale which no longer exist.
2021-11-26 23:27:33 -08:00
Adam
3e79595e24
Merge pull request #695 from adamharrison/additional-scale-variables
...
Added in additional environment variables to scale off of.
2021-11-26 22:07:32 -05:00
Adam
4e078cc217
Merge pull request #697 from Guldoman/treeview_remove_changed
...
Remove changed files/dirs from `TreeView` cache
2021-11-26 22:07:19 -05:00
Francesco Abbate
0c488c9492
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-11-26 13:45:13 +01:00
Adam
fe6ba4adb7
Merge pull request #696 from adamharrison/fix-lineguide
...
Added an exclusion for lineguide in the commandview.
2021-11-24 13:28:04 -05:00
Adam
9b24563b84
Merge pull request #692 from adamharrison/draw-whitespace-color
...
Added in the ability to specify a color for whitespace.
2021-11-24 13:23:34 -05:00
Guldoman
59f64088e1
Remove changed files/dirs from `TreeView` cache
2021-11-24 06:16:54 +01:00
Guldoman
5dca37b11a
Don't search if there are no files
2021-11-24 05:03:42 +01:00
Adam Harrison
f7b3a2b0c2
Added an exclusion for lineguide in the commandview.
2021-11-23 22:35:11 -05:00
Adam Harrison
7ee23da187
Added in additional environment variables to scale off of.
2021-11-23 22:30:35 -05:00
Adam Harrison
463605ff41
Fixed event propogation.
2021-11-23 21:56:07 -05:00
Adam Harrison
64f66e5d1e
Added in cut, copy and paste to the context menu. Also removed find pattern, as that's no longer a valid command. Also made it so commands only show up if their predicates are valid.
2021-11-23 21:03:38 -05:00
Adam Harrison
cc3fddd1e5
Added in check to make sure you can use a scrollbar on a split.
2021-11-23 20:34:01 -05:00
Adam Harrison
3162f4ea4f
Added in the ability to specify a color for whitespace.
2021-11-23 18:42:01 -05:00
PIESEL
00d555b016
Apply again cd10497b49
...
Use Python syntax highlighting for Ren'Py scripts.
2021-11-23 22:24:03 +01:00
Guldoman
cd2adb4a30
Apply again 1976facaf1
...
Use reverse search for `find-replace:previous-find`
2021-11-23 22:22:52 +01:00
Adam
d7b6fe3d42
Merge pull request #688 from adamharrison/mono-font
...
Add Support for `none` Antialiasing
2021-11-23 15:59:07 -05:00