Commit Graph

210 Commits

Author SHA1 Message Date
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
Roy Qu d2b8e8de0f work save 2024-02-21 18:30:43 +08:00
Roy Qu 6592b9cd73 Merge branch 'master' into emoji 2024-02-21 11:14:15 +08:00
Roy Qu 15c5956e1e minor change 2024-02-21 10:01:15 +08:00
Roy Qu e49f815119 Improve raw string syntax color 2024-02-21 09:58:18 +08:00
Roy Qu f9d8212712 - Enhancement: New option for compiler set "Don't localize gcc output messages" 2024-02-20 21:47:12 +08:00
Roy Qu 522722c418 - Enhancement: Improved Raw string support 2024-02-20 17:25:37 +08:00
Roy Qu 0faea6ac69 - Enhancement: Don't auto-indent in raw string. 2024-02-20 12:51:01 +08:00
Roy Qu f0c01e03aa - Fix: Can't goto definition/declaration into files that not saved. 2024-02-20 10:31:12 +08:00
Roy Qu 5953696beb work save 2024-01-20 21:08:46 +08:00
Roy Qu e78bb8db7e work save 2024-01-20 10:37:59 +08:00
Roy Qu 8ce58344db work save 2024-01-20 09:38:14 +08:00
Roy Qu 4a190ec873 work save 2024-01-19 21:36:54 +08:00
Roy Qu 14913d664e basic works 2024-01-19 19:41:45 +08:00
Cyano Hao 2b561729f3
Add xmake as alternative build system (#181)
* add xmake as alternative build system

* add feature matrix test
2024-01-19 09:25:21 +08:00
Cyano Hao 1394e6c135
Add Lua-based theme add-ons (#165)
* import Lua 5.4.6 as subproject

* Lua-based theme

* Lua theme showcase - random light

* add “Inky dark” (墨落) theme

* add copyright notice

* add feature flag for Lua-based add-on
2023-12-22 18:03:29 +08:00
Roy Qu a6b9d282cf - fix: Click on the line begin may toggle breakpoint. 2023-11-19 16:53:29 +08:00
Roy Qu 49237ebf03 - change: Use qt.conf to use freetype font engine. User can use the windows default font engine by remove this file. 2023-11-19 16:41:36 +08:00
Roy Qu 1c23010408 - change: Set mouse cursor to hand pointing when it's on gutter.
- fix: mouse cursor doesn't change when move back to editor.
2023-10-23 21:46:13 +08:00
Roy Qu 00736ea73b - change: Ensure the line just below caret is visible while moving caret. 2023-10-23 17:36:10 +08:00
Roy Qu e0b9bfb4c8 minor cleanup 2023-10-22 20:04:21 +08:00
Roy Qu 30cabe2faa - enhancement: Parse files that contains C++ 20 'concept' keyword. (No code suggesion for concepts now)
- enhancement: Parse files that contains C++ 20 'requires' keyword.
  - fix: Code suggestions in namespace.
  - enhancement: Code suggestions for namespace alias.
  - fix: Correctly handle statements like 'using xxx::operator()'.
2023-10-22 13:19:03 +08:00
Cyano Hao a62acc2eb0
Add Windows XP support (#146)
* improve Qt 5.6 support

* switch registry API to Windows XP compatible Unicode API

* update docs

* add comment for `CONFIG += c++14 c++17` in qmake .pro files

* fix logic for lockFile
2023-10-21 13:38:12 +08:00
Roy Qu 38a55dcdb4 - ehhancement: Show selected char counts in status bar.
- enhancement: Differentiate /* and /** when calculate auto indents.
2023-10-18 14:37:31 +08:00
Roy Qu 814f3a28db - enhancement: After compiler settings changed, run/debug current file will auto recompile. 2023-10-15 16:28:55 +08:00
Roy Qu 526e73d27a Use QRecursiveMutex instead of QMutex in CppParser 2023-10-10 19:59:39 +08:00
Cyano Hao 7cf5d21b48
Add runner args abstraction and fix shm on macOS/BSD (#134)
* add runner args abstraction to allow different args patterns in various terminal apps; fix macOS shm IPC

* extend platform support from Linux to XDG desktop

* update build docs for Unix

* improve terminal args pattern migration for macOS
2023-09-05 19:14:08 +08:00
Roy Qu 257b81ca3f - fix: "move selection up/down" of whole lines selection are no correctly handled. 2023-08-23 22:37:43 +08:00
Roy Qu aa03dfc01d update Simplified Chinese translation 2023-08-11 14:10:04 +08:00
Roy Qu 0f7b4b8ce5 - fix: Wrong code suggestion while inputing numbers in assembly files.
- fix: Defines in all files are wrongly cleared when reparsing.
2023-08-09 22:35:25 +08:00