Roy Qu
2bffb46bda
clean up
2024-03-26 18:01:39 +08:00
Roy Qu
df992c5cbc
- fix: Remove duplicated macro defines make it's lost in the parse result.
...
- fix: An undefined macro is still missing the the parse result after #undef is removed.
2024-03-26 16:33:22 +08:00
Roy Qu
5976ef95ea
- fix: In split screen mode, editor on the right can't be correctly found by commands.
2024-03-26 13:58:14 +08:00
Roy Qu
40777386a9
fix #326 - enhancement: Suggest macro names after "#ifdef"/"#ifndef".
2024-03-26 13:18:00 +08:00
Roy Qu
730bed9587
fix #313 : Caret on '(' / ',' in string/comment/char may invoke function tips.
2024-03-24 18:27:40 +08:00
Roy Qu
3be7a72fb9
- fix: Caret on '('/',' in string shouldn't invoke function info tips.
2024-03-24 10:41:03 +08:00
Roy Qu
272431e96b
add "inline" as type qualifier
2024-03-23 18:41:55 +08:00
Roy Qu
79274d786a
tweak displays
2024-03-23 10:24:59 +08:00
Roy Qu
a83ee3f16a
- Enhancement: Vertically scroll by pixel.
2024-03-22 21:56:04 +08:00
Roy Qu
e291a2e2fb
fix #300 - enhancement: Show type completion hint after "constexpr"/"extern"/"static"/"consteval"/"constinit"/"const"/"volatile" etc.
2024-03-22 19:53:09 +08:00
Roy Qu
325f3ca5ce
remove debug info
2024-03-22 19:24:59 +08:00
Roy Qu
1ae60fa7ed
fix #297 : Filename that contains '&' doesn't correctly displayed in the editor tab.
2024-03-21 20:00:34 +08:00
Roy Qu
5b77c6f3fb
fix: encoding menu popup doesn't work
2024-03-21 17:41:55 +08:00
Roy Qu
92407fc767
fix #286 : Show type completion info after 'const' and 'volatile'
2024-03-20 20:35:47 +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
e6f65acf00
- fix: Should show header completion popup in #include line comments.
...
- fix: <> int #include "" line's line comment may be wrongly syntax colored.
- fix: <> int #include "" line's line comment may be wrongly underlined.
2024-03-18 21:37:54 +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
46b273a88d
- enhancement: Folding button scales with editor font.
2024-03-14 20:06:45 +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
1e3404c591
- fix: Shortcuts in non-editor panels conficts with the editor.
2024-03-13 11:04:51 +08:00
Roy Qu
6ba9cbb78b
work save
2024-03-10 09:56:20 +08:00
Roy Qu
4567e11f43
fix: can't compile
2024-03-08 10:06:18 +08:00
Roy Qu
c742a8bb29
- enhancement: Issue #196 Support C++ using alias in syntax highlighting/code completion/function tips.
2024-03-07 21:35:53 +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
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
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
3f2a0b424a
- fix: "float" in #include "float.h" is wrong syntax colored.
...
- enhancement: Unify syntax color for #include header name
2024-03-03 20:33:29 +08:00
Roy Qu
c8cc88844a
fix: wrong color for #include underline
2024-03-03 19:25:53 +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
804ff6085e
- fix: Issue #230 Crash when input " in the txt files.
2024-03-03 12:31:24 +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
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
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
Roy Qu
7c379509bf
- Enhancement: When '{' is inputted and there are contents selected, auto add line breaks and indents.
2024-02-29 13:36:46 +08:00
Roy Qu
ee488384a1
- fix: Wrong indent for the line after the pasted context.
...
- Enhancement: When '{' is inputted and there are contents selected, auto add line breaks and indents.
2024-02-29 13:28:19 +08:00
Roy Qu
bbb3071d44
- fix: Insert line after comments may auto add an extra '*'.
2024-02-29 08:45:18 +08:00
Roy Qu
0bab75cfd6
enhancement: force fixed width
2024-02-28 11:51:02 +08:00
Roy Qu
451e201881
enhancement: enable/disable fallback fonts
2024-02-27 13:05:38 +08:00
Roy Qu
d3e29958b5
add more fallback font
2024-02-26 18:29:24 +08:00
Roy Qu
174808d416
font: work save
2024-02-26 16:43:40 +08:00
Roy Qu
b57bbc34f9
Use fallback font instead of non-ascii font
2024-02-26 15:15:26 +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
322c4bba4f
work save:
...
Optimization for text render
2024-02-24 15:05:46 +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
6592b9cd73
Merge branch 'master' into emoji
2024-02-21 11:14:15 +08:00
Roy Qu
522722c418
- Enhancement: Improved Raw string support
2024-02-20 17:25:37 +08:00
Roy Qu
20339b3e9a
- Fix: Function list is not correctly retrived for full-scoped functions
2024-02-20 14:45:12 +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
e78bb8db7e
work save
2024-01-20 10:37:59 +08:00
Roy Qu
d75f550742
- change: Don't auto add; when completing '{' for lines starting with 'struct/union/enum' and ending with ')'
2023-11-19 17:15:17 +08:00
Roy Qu
94e955b07a
- fix: If the integrated gcc compiler is add to path, auto find compilers will find in twice. (Windows)
2023-10-25 18:58:45 +08:00
Roy Qu
3a78819fb8
- fix: C++ compiler atrribute '[[xxx]]' are not correctly handled.
2023-10-25 17:01:42 +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
cdb0197aea
- change: Don't change caret position when ctrl+click.
2023-10-23 10:13:46 +08:00
Roy Qu
bd85f91258
windows compatibility fix
2023-10-21 16:06:33 +08:00
Roy Qu
eb7c1d0c8f
Merge branch '2.26'
2023-10-21 13:38:50 +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
5332ffee84
- enhancement: Auto adjust position of the suggestion popup window.
2023-10-21 10:14:12 +08:00
Roy Qu
c1b5dd4b36
Refactor & cleanup for ctrl+mouse move
2023-10-21 09:29:26 +08:00
Roy Qu
9b1b81e368
2.26 cleanup
2023-10-20 11:17:46 +08:00
Roy Qu
7b949d8d23
- change: Use ctrl+mouseMove event to highlight jumpable symbols (instead of ctrl+tooltip).
2023-10-20 10:32:51 +08:00
Roy Qu
5bf6da785c
fix: crash when using ibus as the input method
2023-10-18 14:00:32 +00:00
Roy Qu
2b94c752df
disalbe code suggestion while using ibus as the input method
2023-10-18 17:07:16 +08:00
Roy Qu
5371311219
- fix: Icon position not correct under hiPDI devices.
2023-10-15 12:45:31 +08:00
Roy Qu
571f18ee54
- fix: Press '>' after '-' don't show completion suggestion info.
2023-10-09 18:20:48 +08:00
Roy Qu
ee26d9d0a0
- fix: Symbol completion of '(' before selection may fail, if cursor is at the beginning of the selection.
2023-08-23 20:47:23 +08:00
Roy Qu
10c134a5c7
- change: Symbol completion of '(' won't test current character at the cursor.
...
- change: Symbol completion of '{' won't insert extra new lines.
2023-08-23 17:24:07 +08:00
Roy Qu
097128e2f3
fix: can't complete <> "" in #include
2023-08-18 09:26:06 +08:00
Roy Qu
dd5640d334
- enhancement: False branches are displayed as comments.
2023-08-17 13:24:08 +08:00
Roy Qu
bbdefc4af0
- fix: Can't suggest header filename starting with numbers.
2023-08-14 22:37:34 +08:00
Roy Qu
b16a85d033
- Retrieve sdcc predefined macros (hacking).
...
- Stop compiling if ihx file is not correct created.
- Run/Debug/Generate assembly actions are correctly diabled.
2023-08-14 12:22:24 +08:00
Roy Qu
97fef20a78
minor change
2023-08-13 19:14:31 +08:00
Roy Qu
707358817c
- enhancement: Autowrap tool output text.
2023-08-13 15:41:17 +08:00
Roy Qu
738faf0c90
- fix: Crash if close file while auto syntax checking.
...
- enhancement: support sdcc compiler.
2023-08-13 14:46:53 +08:00
Roy Qu
f462d6708d
- fix: Crash if close file while auto syntax checking.
2023-08-12 13:51:35 +08:00
Roy Qu
739f382f46
- change: Remove option "clear all symbols when current editor is hidden".
...
- fix: When opening multiple files, only the active file should be parsed.
2023-08-11 13:49:09 +08:00
Roy Qu
62f7c0a495
- change: New file created by file template is set as unmodified by default.
2023-08-09 23:01:53 +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
Roy Qu
6a06b5b3d6
- fix: Dummy struct/enum symbols shouldn't be shown in the completion suggestion.
...
- enhancement: Support optional enum name.
- enhancement: Support optional enum type.
- enhancement: Support simple const expression evaluation for enum values.
- fix: Accessibilty for inherited members are not correct calculated in multiple inheritance.
- fix: Can't handle full class name when handle inheritance.
2023-08-07 14:23:57 +08:00
Roy Qu
9be257e8e8
- fix: "UTF-8 BOM" can't be correctly loaded as project file's encoding.
...
- fix: Project file's encoding is not correctly updated after converted manually.
2023-07-31 21:07:45 +08:00
Roy Qu
21b4494f3c
- fix: english typos. (thanks for sangiye0@github)
2023-07-24 18:38:58 +08:00
Roy Qu
4bebf8da65
remove debug code
2023-07-15 08:25:39 +08:00
Roy Qu
b579139191
- fix: Code completion doesn't work if "min id length to show completion" is not 1.
2023-07-15 08:20:26 +08:00
Roy Qu
2943226e46
- fix: Code completion doesn't work if "min id length to show completion" is not 1.
2023-07-14 22:01:58 +08:00
Cyano Hao
e89f4400eb
Uniform look for Red Panda C++ under KDE/DDE ( #119 )
...
* KDE theme: fix visual problems with KDE dark mode; add system theme
* Make "Light" theme truly light under Breeze Dark theme.
* With this fix also expose dark mode support on Windows.
* Add "Auto" (system) theme that follows system style and color.
* Add "Adaptive" color scheme for system theme (using transparent background).
* Add support for transparent background in color schemes.
* move `alphaBlend` to utils
* hide Auto (system) theme on Windows
2023-07-03 14:06:26 +08:00
Roy Qu
b571e5f535
- enhancement: Show code completion suggestion after "typedef" and "const".
2023-07-03 09:36:27 +08:00
Roy Qu
5e78c0aa62
- fix: Goto definition/Goto declaration/Info tips can't be correctly triggered when mouse pointer is at the last half character of current word.
2023-06-15 16:40:47 +08:00
Roy Qu
36cb8b7867
- fix: When selection is availalbe, Ctrl+Click shouldn't jump to declaration/definition.
2023-06-07 20:41:35 +08:00
Roy Qu
aded956ca8
- enhancement: Auto skip ; and , when input.
2023-04-18 18:05:27 +08:00
Roy Qu
0730aa6c22
- enhancement: Drag the selection beyond the end of the document, and move/copy it beyond the last line.
...
- enhancement: Open Containing folder will auto select the file in windows file explore.
2023-03-23 22:33:04 +08:00
Roy Qu
b951ac6636
- fix: Crash when a project is removed from the disk while it is openned in RedPanda-C++.
2023-03-19 20:51:12 +08:00
Roy Qu
626217f856
- fix: Don't show completion info when input parameters for function definitions.
...
- fix: Don't show function info tips when typing class variable definitions.
- fix: Compare error in debug mode.
2023-03-16 22:02:32 +08:00
Roy Qu
3b56bab68b
refactor: Don't implement custom indent options for C/C++ for now.
2023-03-09 21:08:08 +08:00