Commit Graph

375 Commits

Author SHA1 Message Date
Roy Qu 72481d7de8 optimize painter. 2024-04-04 23:12:12 +08:00
Roy Qu 726043d144 fix #370 : Can't correctly undo/redo "Delete current line". 2024-04-04 19:55:48 +08:00
Roy Qu d3f2cd1dc1 refactor: name project options
fix: chinese translation for project options
2024-04-03 16:50:19 +08:00
Roy Qu 648e555fc5 refactor: enum to enum class 2024-04-03 10:37:29 +08:00
Roy Qu 494a5c61e4 refactor: enum to enum class in qsynedit 2024-04-03 10:14:54 +08:00
Roy Qu 732e3f7c72 refactor qsynedit code
fix: select by mouse drag is not correctly handled.
2024-04-03 00:09:33 +08:00
Roy Qu 8e81338038 streamline code 2024-04-02 22:51:59 +08:00
Roy Qu 24f88f8d35 minor fix
fix: can't edit custom tool items
 update translations
 add log info for tool output
2024-04-02 17:19:50 +08:00
Roy Qu 775148eb43 eliminate warnings 2024-04-01 21:28:36 +08:00
Roy Qu 97a7a62fb1 update translations 2024-04-01 21:10:50 +08:00
Roy Qu 9b2d3a1bd0 - enhancement: Enhancement for custom tools. 2024-04-01 21:07:44 +08:00
Roy Qu 9a8751c7c8 fix: cpu load high. 2024-04-01 15:45:04 +08:00
Roy Qu 158945f8db fix #358 : C++ source after ';' are treated as comments in cpu info window. 2024-03-31 21:27:02 +08:00
Roy Qu 1c51326e8f Use combobox to set project type option 2024-03-31 10:50:41 +08:00
Roy Qu 8584380587 optimaze qsynedit processing 2024-03-31 08:36:20 +08:00
Roy Qu 1e73b7beb2 optimize max long width calculation 2024-03-30 18:34:12 +08:00
Roy Qu d31221ff42 fix: update longest line width 2024-03-30 11:11:34 +08:00
Roy Qu d76ef859c5 fix: can't show info tips if the first line contains errors 2024-03-30 10:56:18 +08:00
Roy Qu c4442f3a30 - fix: If there are only 1 line in the editor, shift+down can't select it. 2024-03-30 10:34:47 +08:00
Roy Qu 3681b1f56f fix h scroll error 2024-03-30 10:28:33 +08:00
Roy Qu 3a098349bc work save 2024-03-30 09:24:34 +08:00
Roy Qu bae50693b9 fix: turn on "auto hide scroller" will crash app. 2024-03-29 23:50:59 +08:00
Roy Qu 92d7916288 clean up code 2024-03-29 22:47:08 +08:00
Roy Qu 07d5d4be98 minor update 2024-03-29 08:12:08 +08:00
Roy Qu 4f312b8de4 fix: left/top pos after font size changed 2024-03-29 00:54:33 +08:00
Roy Qu dc4f252b41 reset left/top pos after font size changed. 2024-03-28 23:08:28 +08:00
Roy Qu 4673850c9c fix: scroll not correctly updated with font size 2024-03-28 20:48:36 +08:00
Roy Qu bcf2288cde fix: string not correctly syntax highlighted 2024-03-28 18:43:45 +08:00
Roy Qu 23c3644871 - enhancement: Highlight words in the string/comments. 2024-03-28 18:25:36 +08:00
Roy Qu f88898ae1e - enhancement: Adjust function tip pos to prevent it from run outside the right window edge. 2024-03-27 11:32:56 +08:00
Roy Qu a24debae6f fix: Editor vertical scroller's page step are not correct 2024-03-25 19:25:49 +08:00
Roy Qu 5efc4ac279 fix #321 #322
- enhancement: Display (gdb) prompt in debug console after it's cleared.
  - fix: Output of "disas" is not shown in debug console.
  enhancement: align first line top with editor window after vertical scrolled.
2024-03-25 17:10:47 +08:00
Roy Qu 4c8e88ce1b highlights "import"/"module"/"override"/"final" 2024-03-24 17:15:40 +08:00
Roy Qu 741b814e1d fixes #315 : foreach not correcly handled. 2024-03-24 17:07:53 +08:00
Roy Qu 27e28e4388 fix: paint error 2024-03-24 14:29:13 +08:00
Roy Qu 3c9ac38913 drag&drop tweak 2024-03-24 12:23:58 +08:00
Roy Qu 2873cb8785 ensure top pos aligns with line height after drop 2024-03-24 12:21:49 +08:00
Roy Qu 9fc276325e ensure top pos aligns with line height after mouse drag. 2024-03-24 12:19:21 +08:00
Roy Qu 2cad9262c9 speed out selection count calculation 2024-03-24 09:56:37 +08:00
Roy Qu 5e10d0b4db clean up 2024-03-24 09:39:31 +08:00
Roy Qu 5a60d4a855 clean up 2024-03-24 09:09:53 +08:00
Roy Qu 33a47a5361 remove nouse code 2024-03-24 09:09:22 +08:00
Roy Qu e9d95a4682 refactor: qsynedit remove no use code 2024-03-24 09:08:56 +08:00
Roy Qu e1b716200d fix: indent line pos
change: align text with editor up-side when moving caret
2024-03-24 00:15:02 +08:00
Roy Qu 2dd570cb08 tweak editor display 2024-03-23 23:39:51 +08:00
Roy Qu 31aee0cfcc tweak caret movement 2024-03-23 21:58:45 +08:00
Roy Qu e249da82ff code cleanup 2024-03-23 18:14:52 +08:00
Roy Qu 67f9cbe6ee fix: scroll to last line 2024-03-23 17:49:13 +08:00
Roy Qu 79274d786a tweak displays 2024-03-23 10:24:59 +08:00
Roy Qu d63aa1a58f tweak displays 2024-03-23 08:10:50 +08:00
Roy Qu 8a5102172e fix: Page Up scroll error 2024-03-22 23:17:20 +08:00
Roy Qu bf9e56367e tweak selection display 2024-03-22 22:58:28 +08:00
Roy Qu 51a05e1bc6 fix: vertical selection speed 2024-03-22 22:43:21 +08:00
Roy Qu 7c29f4a964 work save 2024-03-22 22:01:29 +08:00
Roy Qu a83ee3f16a - Enhancement: Vertically scroll by pixel. 2024-03-22 21:56:04 +08:00
West-Pavilion 421a227d05
update the C++20 keyword "co_await" from "co_wait" (#299)
* Updated the Chinese translation for "Goto Page Start and Select"
This PR updates the Chinese translation for "Goto Page Start and Select" to accurately reflect the functionality of the feature.
本次PR更新了“Goto Page Start and Select”的中文翻译,以准确反映该功能的操作。

* update the C++20 keyword "co_await" from "co_wait"

The C++20 introduced a new keyword "co_await", however there is a tiny typo wrong("co_wait") in the current version of RedPanda-CPP. This PR is aimed to correct it.
2024-03-22 15:44:04 +08:00
Roy Qu 72cd79eef5 - enhancement: Improvement in italic font support. 2024-03-22 11:12:06 +08:00
Roy Qu ce45cae6ed tweak wave underline 2024-03-21 22:23:07 +08:00
Roy Qu e72b780dc3 - enhancement: Syntax highlighting for c++ attributes.
fix: mingw build errors
2024-03-21 21:28:12 +08:00
Roy Qu 4c12fadae3 fix #295 : Save left/top position in undo when add linebreak at line end. 2024-03-21 15:01:44 +08:00
Roy Qu d32e4e642d fix #294 - fix: Ctrl+Return insert linebreak shouldn't scroll unnecessarilly.
- enhancement: Move caret to line begin would scroll to the begin if possible.
2024-03-21 10:22:09 +08:00
Roy Qu d054d9ffce minor fix 2024-03-20 20:57:47 +08:00
Roy Qu bcbcc61481 - fix: Caret unseen when move to a long line end by press END. 2024-03-20 20:42:20 +08:00
Roy Qu 4da95ebf0a remove nouse editor options 2024-03-20 16:44:20 +08:00
Roy Qu 5003c412f7 - enhancement: "Mouse scroll direction" option in Options / Editor / General
- change: Invert scroll direction in horizontal, like in vertical.
2024-03-20 15:55:22 +08:00
Roy Qu 63db2e5179 fix #284 : selection not correctly displayed. 2024-03-20 12:33:36 +08:00
Roy Qu 4e2053fb56 fix: crash when set breakpoints in an empty C/C++ file 2024-03-19 20:20:11 +08:00
Roy Qu e7129241e9 fixes #281: Wrong syntax highlighting for #include lines that contains multiple '>' chars. 2024-03-17 21:49:06 +08:00
Roy Qu fa1828e225 - enhancement: Folding button scales with editor font. 2024-03-14 20:35:26 +08:00
Roy Qu 46b273a88d - enhancement: Folding button scales with editor font. 2024-03-14 20:06:45 +08:00
Cyano Hao 051fcfafa5
use relative locations in translations to avoid further merge conflict (#275) 2024-03-14 10:05:57 +08:00
Cyano Hao e67e329ef1
Use font list (#269)
* add icons

* place text vertically center in qsynedit

* use font list
2024-03-13 19:17:25 +08:00
Roy Qu 19eeb5a1f8 fix: wrong selection contents retrieved in column editing mode. 2024-03-13 17:03:32 +08:00
Roy Qu 581b7c7cf1 work save: refactor: DebuggerClient interface 2024-03-08 22:06:10 +08:00
Roy Qu 4b454353bb - fix: Delete/Insert in column editing mode. 2024-03-07 15:39:05 +08:00
Roy Qu 67caf82753 - enhancement: Windows installer Hi-DPI support.
- refactor: remove Line edit mode in qsynedit.
  - optimization for scroll calculation while inputing text
2024-03-07 11:06:15 +08:00
Roy Qu eff6beba0a fix: char literal not correctly syntax parsed. 2024-03-06 18:21:47 +08:00
Roy Qu 52e859756b fix: string not correctly syntax parsed. 2024-03-06 17:27:44 +08:00
Roy Qu 93768c199e fix: crash when move caret in empty files 2024-03-06 17:18:54 +08:00
Roy Qu 100c55fdba fix xmake.lua for qsynedit 2024-03-06 12:15:56 +08:00
Roy Qu 383031bc5d - Enhancement: Optimization for drawing scrollbars. 2024-03-06 12:01:56 +08:00
Roy Qu f7514e424e refactor: Check string/rawstring/character status while completing symbols in c/c++ file 2024-03-05 21:20:47 +08:00
Roy Qu 417c33a8dc fix: wrong indent when paste 2024-03-05 17:09:43 +08:00
Roy Qu e0438b1bf9 - enhancement: Internal optimization for open/edit files. 2024-03-05 16:34:41 +08:00
Roy Qu bbe79297ef fix: Deadlock while openning files that contains '\t'
fix: Optimize file openning
2024-03-05 15:29:25 +08:00
Roy Qu 2245356616 add missing files 2024-03-04 21:12:26 +08:00
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