Commit Graph

239 Commits

Author SHA1 Message Date
Roy Qu 6b891a6626 basicly done 2024-03-04 18:36:46 +08:00
Roy Qu 2a18f3f47a Refactor: All file has a syntaxer 2024-03-04 16:01:23 +08:00
Roy Qu 518ce3f31a optimization for token color settings 2024-03-03 20:58:51 +08:00
Roy Qu 43658bc873 optimize wave underline width 2024-03-03 18:55:02 +08:00
Roy Qu 8561a035ae - enhancement: Unique look&feel for the underline shown while ctrl+mouse over #include line.
- enhancement: Better look&feel for the wave underline shown for syntax errors.
2024-03-03 18:42:45 +08:00
Roy Qu 907aa41a8e fix: Error when drawing selection line of txt file. 2024-03-02 18:08:55 +08:00
Roy Qu 65c2a284d7 wrong indent fill for non-monospace font 2024-03-01 20:42:35 +08:00
Roy Qu f0f79c2917 Wrong indent line position for non-monospace fonts. 2024-03-01 20:10:18 +08:00
Roy Qu cb66c7f340 - fix: After spaces in comments and strings, symbol completion for '{' and '(' are wrong. 2024-03-01 19:30:37 +08:00
Roy Qu b04c8b5309 - fix: Contents wider than the editor are not displayed. 2024-03-01 18:28:50 +08:00
Roy Qu 026a787ee5 - fix: Font style not applied when option "show spaces" is on.
Update Contributor info
2024-03-01 08:32:46 +08:00
Roy Qu 6d137b82bd - fix: issue #215 (Caret may be drawn in the gutter.) 2024-02-29 20:23:30 +08:00
Roy Qu d171d7bdf5 - fix: Selected lines doesn't draw line break glyphs. 2024-02-29 19:33:53 +08:00
Roy Qu 30ed2fac79 - fix: Fallback font doesn't apply before restart
- fix: first indent line doesn't show
 = fix: Selection background not correctly drawn
2024-02-29 19:17:14 +08:00
Roy Qu ee488384a1 - fix: Wrong indent for the line after the pasted context.
- Enhancement: When '{' is inputted and there are contents selected, auto add line breaks and indents.
2024-02-29 13:28:19 +08:00
Roy Qu 0f654bdf75 - enhancement: Beautify display for spaces and linebreaks. 2024-02-28 21:07:07 +08:00
Roy Qu 5eff32cee9 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2024-02-28 20:13:44 +08:00
Roy Qu 46f5191b89 fix: color for line break glyphs 2024-02-28 20:13:20 +08:00
Roy Qu ca79bf6648 fix: tab glyphs not correctly displayed. 2024-02-28 20:02:11 +08:00
Cyano Hao 18318653d7
Move from command line to argv array (#216)
* command line -> argv array

* update function names

* update directory structure

---------

Co-authored-by: Roy Qu <royqh1979@gmail.com>
2024-02-28 19:41:05 +08:00
Roy Qu 0a4acbec46 - fix: crash when input using input method in an empty file.
- optimize for ligature and force monospace both enabled.
2024-02-28 18:20:11 +08:00
Roy Qu 0bab75cfd6 enhancement: force fixed width 2024-02-28 11:51:02 +08:00
Roy Qu 2743e6f682 - fix: Parser: invalidating file may lost class inheritance infos. 2024-02-28 09:17:30 +08:00
Roy Qu 255e09de89 fix: Fallback font combos in the editor font options panel are not correctly inited.
fix: Ascii control chars font not correctly loaded when app start.
2024-02-27 14:46:55 +08:00
Roy Qu bc0d55b1bb - enhancement: Display ascii control chars. 2024-02-27 13:23:58 +08:00
Roy Qu 45118f5251 fix: duplicate chars with paint lines 2024-02-27 10:18:37 +08:00
Roy Qu 2a3afffba9 refactor fill to end 2024-02-27 08:30:45 +08:00
Roy Qu dfd7075dfb add more fall back fonts 2024-02-26 18:22:02 +08:00
Roy Qu 174808d416 font: work save 2024-02-26 16:43:40 +08:00
Roy Qu b57bbc34f9 Use fallback font instead of non-ascii font 2024-02-26 15:15:26 +08:00
Roy Qu b3b5affeb8 minor refactor 2024-02-26 10:38:02 +08:00
Roy Qu d648e741df fix: wrong caret position when input using input method 2024-02-26 10:35:42 +08:00
Roy Qu 0e6d4483c4 handle unicode ZWNJ 2024-02-26 10:01:08 +08:00
Roy Qu fd3a280708 fix: onGutterPaint not correctly called
fix: expand glyph char list is not work properly.
2024-02-26 08:59:01 +08:00
Roy Qu 6b1e4ff979 ligature not correctly supported 2024-02-25 22:08:10 +08:00
Roy Qu fda9a424c4 fix: ending glyph not correctly drawed after editing 2024-02-25 20:01:05 +08:00
Roy Qu 9672ebd079 fix: font style not correct when painting 2024-02-25 18:59:39 +08:00
Roy Qu 16053882d4 minor fix 2024-02-25 11:27:25 +08:00
Roy Qu 7ac35a86b8 Painter optimization
ligature support
2024-02-25 11:22:49 +08:00
Roy Qu effecc80f9 fix: can't redo input char 2024-02-25 10:18:09 +08:00
Roy Qu 3b28894d51 Work save: 2024-02-24 21:14:19 +08:00
Roy Qu 322c4bba4f work save:
Optimization for text render
2024-02-24 15:05:46 +08:00
Roy Qu cb2b119e46 Done:
- Caret move
- Delete current char / last char
Fix:
- Selection not correctly drawn
2024-02-24 11:25:41 +08:00
Roy Qu 06b8850970 work save 2024-02-23 21:43:58 +08:00
Roy Qu 3eadbafe25 work save: support don't force fix-width 2024-02-23 17:51:38 +08:00
Roy Qu aa17ec785c work save 2024-02-23 12:41:13 +08:00
Roy Qu cf994d2ac6 work save: can display glyphs with code points > 0xFFFF now 2024-02-22 22:51:48 +08:00
Roy Qu 2489148da6 work save 2024-02-22 19:00:47 +08:00
Roy Qu cb1d2594da work save 2024-02-22 18:03:07 +08:00
Roy Qu d6fa17cdd9 work save 2024-02-22 14:24:29 +08:00