Commit Graph

341 Commits

Author SHA1 Message Date
Roy Qu 8c889a3a1b refactor: painter for qsyneditor : member Namespace
Spaces in disabled lines use the same color as in other places.
2024-04-15 21:25:07 +08:00
Roy Qu a485dac4cd Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2024-04-15 16:40:00 +08:00
Roy Qu 45f4047d82 use custom font to display line breaks 2024-04-15 16:39:49 +08:00
Roy Qu 0662c59e91 fix: line break not correctly displayed. 2024-04-15 10:56:18 +08:00
Roy Qu 89f8d9ae21 - fix: Positions of current matching parenthesis not correctly updated. 2024-04-13 18:01:32 +08:00
Roy Qu 039ec299a6 revert: turn off font hinting 2024-04-12 20:43:47 +08:00
Roy Qu 308cbb3ee8 - change: Turn off font hinting. 2024-04-12 20:18:06 +08:00
Roy Qu 6b575ad8b2 - enhancement: In debug console, Ctrl+C/Ctrl+X/Ctrl+V conflicts with application action.
- enhancement: Auto hide Edit/Selection/Code/Refactor menu if no file openning.
  - enhancement: Auto hide Project menu if no project openning.
2024-04-12 09:02:17 +08:00
Roy Qu ffafcd4416 code clean 2024-04-10 21:10:26 +08:00
Roy Qu 66e48cbf41 minor refactor 2024-04-09 22:16:09 +08:00
Roy Qu 97f5420a27 code clean up 2024-04-07 21:40:54 +08:00
Roy Qu 04c7f3b5d5 - change: Remove "limit for copy" and "limit for undo" options. 2024-04-07 21:33:08 +08:00
Roy Qu 17fddff91b clean code
refactor: rename fileIncludes to fileInfo
2024-04-06 18:10:49 +08:00
Roy Qu 2cf8f2dcf5 - fix: can't jump to definition/declaration for symbols in using alias statement like "using ::printf". 2024-04-06 10:08:42 +08:00
Roy Qu 699925727b remove debug info 2024-04-05 10:08:21 +08:00
Roy Qu 4b0772d994 refactor 2024-04-05 09:42:00 +08:00
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