Commit Graph

335 Commits

Author SHA1 Message Date
Cyano Hao cc359651ef
fix unexpected "int -> QChar -> QString" conversion (#417) 2024-05-09 21:09:57 +08:00
Roy Qu d21de624ea - enhancement: New menu item "Code completion". 2024-05-08 10:27:00 +08:00
Roy Qu 7b0b0587cd optimize the speed for editing big source file 2024-05-07 20:54:40 +08:00
Roy Qu 30e7751abf optimize editing 2024-05-07 16:20:47 +08:00
Roy Qu e29b7c0148 Don't update line width in background. 2024-05-07 16:00:33 +08:00
Roy Qu 89e2c330e3 optimize: don't invalidate all line width after each parsing. 2024-05-07 15:15:02 +08:00
Roy Qu 8fef396baa update max line width in background 2024-05-07 14:41:04 +08:00
Roy Qu 8faa2c0aa6 optimization: don't recalculate glyph positions in selected lines. 2024-05-07 12:18:13 +08:00
Roy Qu eac49a90f0 - fix: The memory usage displayed after program execution is wrong.
- enhancement: New compiler option "stack size" in the link subpage.
  - change: Set "Ctrl+G" as the shortcut for "Goto page..."
  - change: Set "Ctrl+B" as the shortcut for "Toggle Bookmark"
2024-05-05 10:24:36 +08:00
Roy Qu e9f7d42aa6 fix: export error 2024-04-29 13:37:04 +08:00
Cyano Hao 8b80e2a77d
remove pre-Qt 5.15 stuff (#405) 2024-04-28 16:46:01 +08:00
Roy Qu 565e7914f8 fix: current top line changed after change font size. 2024-04-23 17:51:30 +08:00
Roy Qu d3db8e2b4d Generate a customized copy for theme 2024-04-23 14:03:48 +08:00
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 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