Commit Graph

301 Commits

Author SHA1 Message Date
Roy Qu d3abf822fb Merge branch 'master' into gdbmi 2021-11-23 18:16:53 +08:00
royqh1979@gmail.com 614fc911b1 - fix: undo "delete word"/"delete to BOL"/"delete to EOL" correct reset caret position 2021-11-23 12:53:48 +08:00
Roy Qu dda0f82b4d - fix: columns calculation not correct when paint lines containing chinese characters 2021-11-22 19:10:56 +08:00
royqh1979@gmail.com 6ba2d47c81 - enhancement: add "delete line"/"duplicate line"/"delete word"/"delete to EOL"/"delete to BOL" in the edit menu 2021-11-22 16:16:58 +08:00
royqh1979@gmail.com 2763ef1c60 work ave 2021-11-22 15:50:28 +08:00
royqh1979@gmail.com c6080cdf59 Merge branch 'master' into gdbmi 2021-11-20 08:16:13 +08:00
royqh1979@gmail.com b034d27eb9 - fix: option "Move caret to the first non-space char in the current line when press HOME key" dosen't work fine. 2021-11-20 08:12:10 +08:00
royqh1979@gmail.com e044bb0703 Merge branch 'master' into gdbmi 2021-11-20 07:22:09 +08:00
royqh1979 f274d7f208 - fix: problem set & problem views not correctly hidden when disabled in the general / problem set options 2021-11-19 07:52:36 +08:00
royqh1979 1c9bb49799 - enhancement: save/load default projects folder
- enhancement: add editor general options "highlight current word" and "highlight matching braces"
2021-11-18 21:25:28 +08:00
royqh1979@gmail.com a38b4b1813 - fix: numpad's enter key doesn't work 2021-11-18 12:01:52 +08:00
royqh1979@gmail.com 01d7335ba2 - fix: control keys in the numpad doesn't work in the editor
- fix: project layout infos are wrongly saved to registry
 - fix: project layout infos are not correctly saved/loaded
2021-11-17 10:55:18 +08:00
royqh1979@gmail.com 2f945dc6fb - fix: text color for cpu info dialog not correctly setted 2021-11-16 00:03:43 +08:00
royqh1979 7c0ee9857b - fix: "collapse all" and "uncollapse all" doesn't work 2021-11-13 17:41:16 +08:00
royqh1979 c4b61b8985 - fix: option "don't add leading zeros to line numbers" not work 2021-11-13 17:15:07 +08:00
royqh1979@gmail.com a9aa098c29 - fix: greatly reduces paste time 2021-11-13 13:09:50 +08:00
royqh1979@gmail.com be2c1ec77f - fix: greatly reduces paste time 2021-11-13 13:03:42 +08:00
royqh1979@gmail.com a6e8846282 - enhancement: drag & drop text in the editor
- enhancement: auto calcuate caret line size basing on font size
 - enhancement: shift+mouse wheel to scroll horizontally
2021-11-13 12:33:33 +08:00
royqh1979@gmail.com c7748bf5b2 Merge branch 'master' into gdbmi
# Conflicts:
#	RedPandaIDE/qsynedit/SynEdit.cpp
2021-11-13 10:55:10 +08:00
royqh1979@gmail.com 33ba4afc20 - enhancement: auto indent line to column 1 when enter '#' at beginning of line
- fix: when enter '{' or '}' at beginning of line, auto indent will remove all contents of the line
 - fix: auto indent should be turned off when reformat code
 - fix: auto indent should be turned off when replace in code
2021-11-13 10:38:48 +08:00
royqh1979@gmail.com 4c359dd7cd work save 2021-11-13 09:11:28 +08:00
royqh1979@gmail.com 664c8e752a work save 2021-11-13 09:05:02 +08:00
royqh1979@gmail.com 8b7d19f94e work save 2021-11-12 10:51:00 +08:00
royqh1979@gmail.com 4259480471 - fix: correct set the position of chinese input methods 2021-11-08 21:19:48 +08:00
royqh1979@gmail.com b62c166638 - fix: highlighter can't correctly find the end of ANSI C-style Comments 2021-11-07 19:54:48 +08:00
royqh1979@gmail.com bca0a3abc1 - fix: indents calculation for the line succeeding "*/" 2021-11-07 11:39:52 +08:00
royqh1979@gmail.com c98e169fa3 - fix: Installer should install the app in "program files", not "program files (x86)"
- fix: symbol completion for '/*' not work
 - fix: javadoc-style docstring indents calculation
2021-11-07 10:48:09 +08:00
royqh1979 4d48cca3de - fix: multi-line comments indents calculation 2021-11-07 01:07:41 +08:00
royqh1979 6e4afe83c0 - fix: one line 'while' statement dosen't correctly indents
- fix: line starts with  '{' that follow an un-ended 'if'/'for' statement is not correctly un-indented
2021-11-06 23:21:52 +08:00
royqh1979 f53f79559d add new icons 2021-11-06 18:31:48 +08:00
royqh1979 a30982ffa5 - fix: if the proceeding line is a comment, current line should not recalculate indent
- fix: if the proceeding line ends with ':' in comments, current line should not indent
2021-11-06 15:23:28 +08:00
royqh1979@gmail.com 3352d413b3 - fix: find in the current file is not correcly saved in the search history
- fix: hit info not correctly displayed in the search result view
 - fix: If find in files found no hits, search result view will not be shown.
 - fix: wront indents when paste one line content
2021-11-04 21:14:58 +08:00
royqh1979 731a10a1d6 - enhancement: check syntax/parse symbols when modifed and cursor's line changed. 2021-11-04 00:38:40 +08:00
royqh1979 53085e36a3 update translations 2021-11-03 23:51:47 +08:00
royqh1979 9638cbdd3f - enhancement: can use symbols' own foreground color to draw selection or the current line
- enhancement: can use different colors to highlight the current word and the selections
 - enhancement: can set editor's default background / foreground color. They must be setted to make the custom color schemes correctly.
 - enhancement: can set the color for the current line's number in the gutter
 - all predefined color schemes updated.
2021-11-03 23:27:05 +08:00
royqh1979@gmail.com 6ad87990c7 - fix: Custom editor colors shouldn't be tested for high contrast with the default background color
- fix: Custom color settings not correctly displayed in the options widget
 - enhancement: add hit counts in the search result view
 - fix: editor actions' state not correctly updated after close editors.
 - fix: When replace in the editor, "Yes to All" and "No" button doesn't work correctly.
 - fix: crash when editing non-c/c++ files
 - enhancement: set the alpha value of scheme colors
 - enhancement: can use symbols' own scheme color to draw selection
 - enhancement: can use different colors to highlight the current word and the selections
2021-11-03 18:09:12 +08:00
royqh1979 4eec185ac4 - enhancement: correctly handle auto indents for statement span many lines;
- enhancment: only use colors have good contrasts with the background in the class browser and code completion suggestion window
2021-10-31 00:08:20 +08:00
royqh1979 561c83ef58 - enhancement: correctly handle auto indents for multi-level embedding complex statements like 'for(...) if (...) printf(); 2021-10-30 19:58:13 +08:00
royqh1979 44cf39d8ca - change: don't auto insert a new line when input an enter between '(' and ')' or between '[' and ']' (indent instead)
- enhancement: the line containing '}' will use the indents of the matching '{' line, instead of just unindent one level
2021-10-30 18:28:40 +08:00
royqh1979@gmail.com f9cefaf196 * unindent when input public: / private: / protected: 2021-10-29 21:22:41 +08:00
royqh1979@gmail.com 75cb4c9b5a - fix: correctly updates cursor position when pasting from clipboard 2021-10-29 19:20:55 +08:00
royqh1979@gmail.com 92cc00da54 - fix: indent not correctly calculated
- fix: correctly updates cursor position when pasting from clipboard
2021-10-29 17:55:05 +08:00
royqh1979@gmail.com 61a2ed4350 - enhancement: auto insert a new line when input an enter between '(' and ')' or between '[' and ']' 2021-10-29 15:37:30 +08:00
royqh1979@gmail.com fde31ce7b5 - enhancement: more accurate auto indent calculation
- change: remove "add indent" option in the editor general options widget ( It's merged with "auto indent" option)
2021-10-29 15:15:43 +08:00
royqh1979@gmail.com 1853332141 clean up debug code 2021-10-29 12:29:21 +08:00
royqh1979@gmail.com 5aa91e1bc1 - enhancement: more accurate auto indent calculation 2021-10-29 12:25:04 +08:00
royqh1979@gmail.com 19e7143efc work save 2021-10-28 23:46:54 +08:00
royqh1979@gmail.com 317a798cce work save 2021-10-28 09:20:58 +08:00
royqh1979@gmail.com c8704fdfbb work save 2021-10-28 08:56:13 +08:00
royqh1979@gmail.com 2ceb95e4cc - fix: "tab to spaces" option in the editor general options widget doesn't work 2021-10-27 16:39:23 +08:00
royqh1979 7d82f37462 - enhancement: "use utf8 by default" in editor's misc setting 2021-10-24 15:17:31 +08:00
royqh1979 c7205f572e - enhancement: "use utf8 by default" in editor's misc setting 2021-10-24 13:03:54 +08:00
royqh1979 3e442b0860 - enhancement: autosave/load bookmarks
- enhancement: autosave/load breakpoints
 - enhancement: autosave/load watches
2021-10-21 19:33:11 +08:00
royqh1979 a5acb077fc - fix: correctly handle integer with 'L' suffix in #if directives ( so <thread> can be correctly parsed )
- fix: correctly fill indents if it's not multiples of tab width
2021-10-20 20:15:16 +08:00
royqh1979 e51473fdde - fix: don't highlight '#' with spaces preceeding it as error 2021-10-20 18:22:06 +08:00
royqh1979@gmail.com e2751fc693 - enhancement: set mouse wheel scroll speed in the editor general option tab ( 3 lines by default) 2021-10-20 12:27:44 +08:00
royqh1979@gmail.com ae2f3596aa - enhancement: new file template
- fix: when an editor is created, its caret will be displayed even it doesn't have focus
2021-10-20 12:11:36 +08:00
royqh1979@gmail.com 25d83d0e8d - enhancement: fill indents in the editor (Turned off by default) 2021-10-20 11:14:49 +08:00
royqh1979@gmail.com d188d8897f - fix: save as file dialog's operation mode is not correct 2021-10-19 22:41:38 +08:00
royqh1979@gmail.com cd91df6fb8 - fix: Backspace still works in readonly mode 2021-10-19 09:05:11 +08:00
royqh1979@gmail.com 19b1d042c0 - fix: In the create project dialog, the browser button doesn't work
- change: use QStyle to implement the dark style
2021-10-18 22:06:33 +08:00
royqh1979@gmail.com fee2115093 - fix: add mutex lock to prevent editor crash in rare conditions 2021-10-17 21:09:50 +08:00
royqh1979@gmail.com 0c6f4a10a4 - fix: messages send to the gdb process's standard error are not received 2021-10-13 17:20:31 +08:00
royqh1979@gmail.com 59390203e3 - fix: crash when create new file
- implement: two editor view
2021-10-13 11:32:59 +08:00
royqh1979@gmail.com e50a8d0faf correctly update old matching brackets 2021-10-12 20:45:26 +08:00
royqh1979@gmail.com 141de5ed74 - implement: highlight matching brackets 2021-10-12 20:38:39 +08:00
royqh1979@gmail.com 7eda4e35b3 - implement: export as rtf / export as html
- fix: the contents copied/exported are not correctly syntax colored
 - fix: stop execution if the source file is not compiled and user choose not to compile it
 - fix: not correctly parse gdb's output
 - fix: path not correctly setted for the debugger process
 - fix: indent line not correctly drawed
2021-10-12 19:39:24 +08:00
royqh1979@gmail.com bb8b711376 - implement: export as rtf / export as html
- fix: the contents copied/exported are not correctly syntax colored
 - fix: stop execution if the source file is not compiled and user choose not to compile it
2021-10-12 09:47:58 +08:00
royqh1979@gmail.com 58e849063c - fix: unneeded empty lines when copy as HTML 2021-10-10 22:48:54 +08:00
royqh1979@gmail.com 3a81281f7d - change: enable copy as HTML by default
- fix: unneeded empty lines when copy as HTML
2021-10-10 22:19:48 +08:00
royqh1979@gmail.com b3fb9e223b - fix: editor's font style shouldn't affect gutter's font style 2021-10-10 21:46:11 +08:00
royqh1979@gmail.com 14ff15ebc1 - fix: code fold calculation not correct, when editing code 2021-10-09 23:09:08 +08:00
royqh1979@gmail.com 83b99c99de - fix: should use c++ syntax to check ".h" files
- fix: can't copy contents in a readonly editor
 - fix: project's file not correctly syntaxed when open in editor
2021-10-09 22:03:05 +08:00
royqh1979@gmail.com c58ddf7073 - fix: The Enter key in the numpad doesn't work
- fix: The compiled executable not fully write to the disk before run it
 - fix: settings object not correctly released when exit
2021-10-09 09:09:05 +08:00
royqh1979@gmail.com 785f4769cd work save 2021-10-08 22:40:11 +08:00
royqh1979@gmail.com 0cdb901ca5 - fix: editor deadlock 2021-10-08 20:56:55 +08:00
royqh1979@gmail.com b0442258db - print support 2021-10-07 07:52:20 +08:00
royqh1979@gmail.com 3e8200d307 - use QMutex instead of QRecursiveMutex in SynEdit
- Can use tab / shift-tab as shortcut for indent/unindent
2021-10-06 23:35:45 +08:00
royqh1979@gmail.com 8e4c20a2a3 - fix: makefile generated for static / dynamic library projects not right
correct processing for input in code template's place holders
2021-10-05 23:30:34 +08:00
royqh1979@gmail.com ffb87fe66c input method processing for line has selections and special areas
- fix: add mutex lock to prevent rare conditions when editor is modifying and the content is read
2021-10-05 21:25:23 +08:00
royqh1979@gmail.com f8f5b7b0d8 add underline to indicate current ime input 2021-10-05 00:42:35 +08:00
royqh1979@gmail.com 5180387ec7 - fix: code fold parsing not correct 2021-10-04 20:56:57 +08:00
royqh1979@gmail.com 75a6b75ebb - enhancement: replace in files
- enhancement: refactor in project (using search symbol occurence and replace in files)
 - fix: search in files
2021-10-04 12:49:55 +08:00
royqh1979@gmail.com 35b7bdb18c - implement: refactor in file 2021-10-04 11:07:35 +08:00
royqh1979@gmail.com 08d1006ae0 - enhancement: todo view 2021-10-03 17:18:43 +08:00
royqh1979@gmail.com 67850cfe48 work save 2021-10-03 14:06:32 +08:00
royqh1979@gmail.com caaf07a6cc - fix: old data not displayed when editing code snippets
- fix: shift-tab for unindent not work
 - fix: can't save code snippets modifications
2021-10-03 08:25:28 +08:00
royqh1979@gmail.com 22341d11fa work save 2021-10-02 14:54:49 +08:00
royqh1979@gmail.com 237e86cea0 - implement: user code snippet / template
- implement: auto generate javadoc-style docstring for functions
 - enhancement: use up/down key to navigate function parameter tooltip
 - enhancement: press esc to close function parameter tooltip
2021-10-02 13:29:45 +08:00
royqh1979@gmail.com 2d393cb509 - enhancement: more charset selection in the edit menu
- fix: can't correctly get system default encoding name when save file
 - fix: Tokenizer can't correctly handle array parameters
 - fix: debug actions enabled states not correct updated when processing debug mouse tooltips
2021-09-28 22:26:12 +08:00
royqh1979@gmail.com a4f60e45bf - enhancement: set encoding 2021-09-28 17:17:33 +08:00
royqh1979@gmail.com 22acab0950 fix : header file completion stop work when input '.' 2021-09-27 00:52:25 +08:00
royqh1979@gmail.com 2915a862ff fix: can't correctly create project in release mode 2021-09-26 22:39:26 +08:00
royqh1979@gmail.com dc807f527c - function tips done 2021-09-25 21:34:10 +08:00
royqh1979@gmail.com 342f497fba work save 2021-09-25 08:40:18 +08:00
royqh1979@gmail.com 7c325715fd rename normalized buffer coord to ContentsCoord 2021-09-25 07:52:48 +08:00
royqh1979@gmail.com 97e37bfd62 refactor normailizedbuffercoord 2021-09-25 07:51:48 +08:00
royqh1979@gmail.com bfa5835cfa - refactor: brace states in parser
- changer: colors for braces in VS Code color scheme
2021-09-23 14:46:42 +08:00
royqh1979@gmail.com bc1c92e7b5 work save: fix code folder process 2021-09-23 14:07:47 +08:00
royqh1979@gmail.com af288afa7e work save: fix code folder process 2021-09-23 14:04:33 +08:00
royqh1979@gmail.com 842e1f6cbd - fix: editor folder process error
- add: function tooltip
2021-09-23 12:06:26 +08:00
royqh1979@gmail.com f59d67e5f0 work save 2021-09-20 23:33:53 +08:00
royqh1979@gmail.com 3e4f6b6548 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2021-09-20 20:30:48 +08:00
royqh1979@gmail.com 1fc76d50fb change: add cppCommentEnd state in cpp highlighter 2021-09-20 20:30:09 +08:00
royqh1979 8c1f959363 minor fix 2021-09-20 16:03:24 +08:00
royqh1979 01e8e0ae41 add: normalized buffer coord in qsynedit, to easy parse contents 2021-09-20 15:57:48 +08:00
royqh1979@gmail.com 77356215aa - enhancement: paint color editor use system palette's disabled group color
- fix: add watch not work when there's no editor openned;
 - enhancement: rainbow parenthesis
 - enhancement: run executable with parameters
2021-09-19 17:59:03 +08:00
royqh1979@gmail.com ad5b3f5e28 - fix: correctly update brackets level 2021-09-19 15:00:53 +08:00
royqh1979@gmail.com b6df4fcf41 - fix: debug very slow when local infos are long
- fix: wrong code fold calculation
2021-09-19 14:28:30 +08:00
royqh1979@gmail.com deabf1e847 - fix: editor's modified state not correctly initiated
- fix: project's modified state not correctly initiated
2021-09-18 11:08:30 +08:00
royqh1979@gmail.com 14c83ab829 - fix: caret color error when turn on option "caret use text color"
- show / hide some options depends on other options state
2021-09-15 14:35:37 +08:00
royqh1979@gmail.com 85e9b4d697 work save: open project 2021-09-11 18:42:49 +08:00
royqh1979@gmail.com cc2c34fcd2 work save 2021-09-07 14:04:48 +08:00
royqh1979@gmail.com f0530d6737 work save: auto link 2021-09-04 14:06:48 +08:00
royqh1979@gmail.com cda37802ae - feature: file properties dialog
- fix: included file's using namespace list not correctly handled
2021-09-04 00:13:42 +08:00
royqh1979@gmail.com f300fe15c4 * turn on "statically link libs" by defaultCFileFilter
* fix: qt can't correctly give system default encoding name
2021-09-03 20:55:14 +08:00
royqh1979@gmail.com 842daf38a5 - feature done: find symbol occurencies
- feature: open containing folder
 - feature: open terminal
2021-09-03 16:39:20 +08:00
royqh1979@gmail.com 264e3533d9 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2021-09-02 12:14:47 +08:00
royqh1979@gmail.com 6353f40208 feature: caret list 2021-09-02 12:14:02 +08:00
royqh1979 9fab69b08f fix: error when insert completion word 2021-09-01 17:44:28 +08:00
royqh1979 8e3c85e027 fix: indent error when overwrite ‘}’ 2021-09-01 17:39:54 +08:00
royqh1979 ff4e20ae18 - fix: indent error when overwrite '}' 2021-09-01 17:34:39 +08:00
royqh1979@gmail.com fe4c6f0659 - fix: wront indent when insert line break 2021-09-01 16:17:31 +08:00
royqh1979 acbb7c06b8 - fix: only highlight fully selected word 2021-08-31 14:41:48 +08:00
royqh1979 dd39b251b4 - feature: code completion settings dialog
- Simplified Chinese translation updated
- fix: crash when new a file
2021-08-30 16:59:08 +08:00
royqh1979 67fba515a3 - fix: cursor column info on status bar is wrong
- fix: can't correctly highlight function names in the editor
2021-08-29 22:51:23 +08:00
royqh1979 d3f7c872dd - feature done: editor info tooltips 2021-08-29 22:08:43 +08:00
royqh1979@gmail.com 3d103ddee9 work save: hint 2021-08-29 17:23:40 +08:00
royqh1979@gmail.com 7207994d57 work save: header completion suggestion done 2021-08-29 10:14:07 +08:00
royqh1979@gmail.com 05f686d61e work save 2021-08-28 09:01:40 +08:00
royqh1979@gmail.com 19e37b6ae7 work save 2021-08-27 23:51:42 +08:00
royqh1979@gmail.com ddbd302af3 work save 2021-08-26 20:18:20 +08:00
royqh1979@gmail.com f8fae59dcc work save 2021-08-26 17:48:23 +08:00
royqh1979@gmail.com 6020323818 work save 2021-08-25 08:48:33 +08:00
royqh1979@gmail.com 60a4e8c468 work save 2021-08-23 17:27:17 +08:00
royqh1979@gmail.com efef9c35f4 work save 2021-08-23 10:16:06 +08:00
royqh1979@gmail.com 41b9c53146 work save: cpp parser done 2021-08-22 23:48:00 +08:00
royqh1979@gmail.com 95129e8859 work save 2021-08-19 17:08:01 +08:00
royqh1979@gmail.com 83116306a9 work save 2021-08-16 23:17:48 +08:00
royqh1979@gmail.com 34dd3eb474 work save
- add: cpu window blend mode
 - fix: asm parser can't correctly parse numbers
 - fix: disassembly code in the cpu window not correctly updated
2021-08-13 11:18:42 +08:00
royqh1979@gmail.com 91a63648d5 work save 2021-08-08 17:22:37 +08:00
royqh1979@gmail.com ecc4934fd3 work save 2021-08-05 12:31:53 +08:00
royqh1979@gmail.com 579b36ff49 work save: view models for "find in files" 2021-08-04 13:16:15 +08:00
royqh1979@gmail.com 2be69f0758 work save: replace done 2021-08-04 09:13:41 +08:00
royqh1979@gmail.com f93b23f451 work save: basic find done 2021-08-03 23:55:57 +08:00
royqh1979 24b69f5749 work save 2021-08-02 21:58:39 +08:00
royqh1979@gmail.com 100ceeda6c work save 2021-08-02 17:24:11 +08:00
royqh1979@gmail.com d89866803c work save 2021-08-01 01:06:43 +08:00
royqh1979@gmail.com 84ba68f1b9 * work save: toggle breakpoint in editor 2021-07-03 13:57:22 +08:00
royqh1979@gmail.com 7e00a48560 work save: asm highlighter 2021-07-02 10:32:29 +08:00