Roy Qu
63965f6eab
- fix: Slow when paste/replace bulk contents.
2024-09-12 11:01:36 +08:00
Roy Qu
5a5f047f1e
- fix: Don't auto scroll to the caret after undo/redo.
2024-07-05 07:50:16 +08:00
Cyano Hao
dc589d4745
use qt resource system's recommended approach for translation files (v2) ( #452 )
2024-06-10 20:13:03 +08:00
Roy Qu
f14bc593db
Revert "use qt resource system's recommended approach for translation files (…" ( #451 )
...
This reverts commit e2934072d1
.
2024-06-10 09:24:11 +08:00
Cyano Hao
e2934072d1
use qt resource system's recommended approach for translation files ( #449 )
2024-06-10 09:19:15 +08:00
Cyano Hao
56488c9dbc
fix CI build ( #442 )
2024-05-29 16:30:17 +08:00
Roy Qu
7593f3fe64
refactor: make qmutex mutable
2024-05-28 19:01:18 +08:00
Roy Qu
a6da52980d
- enhancement: Handle problems info from competitive-companion in background thread.
...
- enhancement: Handle time/memory limits in problems info from competitive-companion in background thread.
- enhancement: When problems info from competitive-companion received, show tips in the status bar.
2024-05-24 17:53:39 +08:00
Roy Qu
296bdfafeb
- enhancement: Support national flags emoji.
2024-05-18 17:40:39 +08:00
Roy Qu
454dcbadcb
- optimization: use QString::constData() instead of QString::data() if possible
...
- fix: Can't correctly parse template parameters that contains "->", like "std::queue<std::function<auto()->void>>";
2024-05-14 21:19:42 +08:00
Cyano Hao
43e795e791
migrate QStringRef -> QStringView ( #425 )
2024-05-14 08:38:22 +08:00
Roy Qu
b8567f09cb
fix: Can't correctly select in column mode.
2024-05-12 12:34:00 +08:00
Cyano Hao
e67a9992c2
Migrate deprecated APIs ( #418 )
...
* migrate deprecated QLayout::setMargin -> QLayout::setContentMargins
* migrate deprecated QRegExp -> QRegularExpression
* remove deprecated QDesktopWidget header
* migrage deprecated QDesktopWidget::width, height -> QScreen::geometry
2024-05-10 17:31:10 +08:00
Roy Qu
1a59e3190b
remove not use functions
2024-05-09 21:11:31 +08:00
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
87e39c6564
fix: error in changeFileExt
2024-04-25 21:47:19 +08:00
Roy Qu
7df90b0d5d
remove astyle sourcetree
2024-04-25 16:29:27 +08:00
Roy Qu
f3b36985ff
fix: unify path delimiter in output
2024-04-25 10:10:13 +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