Commit Graph

226 Commits

Author SHA1 Message Date
Roy Qu dafac73e12 - fix: the scroll behavior of mouse dragging on the editor's edge is not correct 2022-03-04 19:10:09 +08:00
Roy Qu 82ecab9c90 - enhancement: reduce startup time by about 1 second.
- enhancement: add option "mouse selection/drag scroll speed" in the options dialog's "Editor" / "general" tab.
  - fix: scroll speed of mouse selection/drag is too fast.
2022-03-04 19:04:45 +08:00
Roy Qu ecf567b13f update: redo/undo 2022-03-02 11:31:03 +08:00
Roy Qu 74efa484be - enhancement: group undo will stop at spaces 2022-03-01 23:35:01 +08:00
Roy Qu ee59d80bdb - enhancement: enable group undo
- enhancement: add option "hide symbols start with underscore" and "hide synbols start with two underscore"
  - fix: can't rename project files that not openned in editor
  - fix: dpi changes in CPU window shouldn't affect main window
2022-03-01 22:03:54 +08:00
Roy Qu 82d812b6eb - fix: crash when copy to non-c files
- fix: fonts in cpu window is not correctly set, when dpi changed
2022-03-01 18:11:15 +08:00
Roy Qu 409091d52b - enhancement: custome icons for project view 2022-02-13 20:08:18 +08:00
royqh1979@gmail.com 5eb5c4d58b - enhancement: show caret at once, when edition finished 2022-02-01 14:09:27 +08:00
Roy Qu 620bdc8266 - fix: code folding calcuation not correct when some codes are folded and editing after them 2022-01-27 18:34:18 +08:00
Roy Qu a7557899d1 - enhancement: setting non-ascii font for editors 2022-01-26 14:31:26 +08:00
Roy Qu 67f8629be3 - fix: when copy comments, don't auto indent
- enhancement: auto add a new line when press enter between '/*' and '*/'
2022-01-25 12:29:44 +08:00
Roy Qu 1135fcf7dd - fix: search around option can't be disabled
- enhancement: show a confirm dialog when search/replace around
2022-01-24 18:03:35 +08:00
Roy Qu 3c132d69f3 - fix: if editor's active line color is disabled, caret's position may not be correct redrawn 2022-01-24 16:20:16 +08:00
royqh1979@gmail.com 4797c15b04 - enhancement: add exec charset option to compiler set settings 2022-01-24 11:23:30 +08:00
Roy Qu 194dd3f3e4 - fix: Undo in the editor will lose line indents when no highlighter is assigned (the editing file is a not c/cpp source file); 2022-01-23 21:28:27 +08:00
Roy Qu ebe2dbb95e - fix: editor crash when no highlighter is assigned (the editing file is a not c/cpp source file);
- fix: ')' not correctly skip in the editor when no highlighter is assigned (the editing file is a not c/cpp source file);
2022-01-23 21:04:08 +08:00
Roy Qu bab728e792 - enhancement: add "wrap around" option to find/replace 2022-01-13 12:55:55 +08:00
Roy Qu a3e4f333ab - enhancement: ctrl+up/down scrolls in the editor 2022-01-13 07:39:56 +08:00
Roy Qu 19fc3302ed - fix: caret dispears when at '\t' under Windows 7 2022-01-12 22:21:40 +08:00
Roy Qu 995b734334 - fix: crash when refactor symbol and cursor is at the end of the identifier
- fix: refactor symbol doesn't work for 1-length identifiers
2022-01-12 18:07:52 +08:00
Roy Qu 0e0f954bec - enhancement: if there's no selection when copy/cut, select currect line by default 2022-01-10 18:37:00 +08:00
Roy Qu bb6a4ed9c8 qt 5.12 compatibility 2022-01-04 16:50:54 +08:00
royqh1979@gmail.com 317db42876 add license information 2021-12-26 23:18:28 +08:00
Roy Qu 7f4840a299 basic linux compatibily 2021-12-24 23:18:20 +08:00
Roy Qu 0f3baaac00 Version 0.12.1 For Dev-C++ 7 Beta
- fix: error when drag&drop in editors
2021-12-23 22:05:57 +08:00
Roy Qu ba538c9b13 better auto indent calculation for '{' after if/for statement 2021-12-20 08:45:16 +08:00
Roy Qu bb5d1b706c work save 2021-12-20 08:18:43 +08:00
Roy Qu da1dc2e856 - fix: auto indent processing error when input '{' in the middle of if statement 2021-12-19 20:48:23 +08:00
Roy Qu b2caf38e89 - fix: use pixel size for fonts, to fit different dpi in multiple displays 2021-12-16 19:14:14 +08:00
Roy Qu 879f001d0c - fix: current line of the disassembly in the cpu window not correctly setted
- enhancement: add "step into one machine instruction" and "step over one machine instruction" in the cpu window
2021-12-16 10:46:38 +08:00
Roy Qu c3ea1e6dd4 - enhancement: recalc layout info for code editors when dpi changed 2021-12-13 19:10:16 +08:00
Roy Qu 956b717a14 - enhancement: recalc layout info for code editors when dpi changed 2021-12-13 16:38:22 +08:00
royqh1979@gmail.com 0e0689ad64 work save 2021-12-13 12:09:37 +08:00
Roy Qu ad61e63fec - enhancement: press home will switch between begin of line and the position of fisrt non-space char
- enhancement: press end will switch between end of line and the position of last non-space char
2021-11-30 21:45:48 +08:00
Roy Qu ce242fc2ab - fix: can't correctly undo/redo unindent 2021-11-30 21:39:13 +08:00
Roy Qu 9b01d9e85f - fix: correct set selection when undo indent 2021-11-30 21:11:21 +08:00
Roy Qu b4e70c4879 - fix: indent can't be correctly undo
- change: press tab when there are selections will do indent
2021-11-30 20:43:58 +08:00
Roy Qu db61432d36 - fix: dragging text from lines in the front to lines back will cause error
- fix: dragging text onto itself should do nothing
2021-11-26 19:54:05 +08:00
Roy Qu ed3f320c50 - fix: select by mouse can't correctly set mouse's column position
- fix: dragging out of the editor and back will cause error
2021-11-26 19:04:04 +08:00
Roy Qu f8a8f5df67 - fix: dragging out of the editor shouldn't reset the caret back 2021-11-26 08:29:00 +08:00
Roy Qu 03ae21ebf6 - enhancement: scroll while dragging text in the editor 2021-11-26 08:14:23 +08:00
Roy Qu b17406eb07 work save 2021-11-24 17:53:25 +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 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 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@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 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 4259480471 - fix: correct set the position of chinese input methods 2021-11-08 21:19: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 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@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 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 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 3e442b0860 - enhancement: autosave/load bookmarks
- enhancement: autosave/load breakpoints
 - enhancement: autosave/load watches
2021-10-21 19:33:11 +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 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 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 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 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 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 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 35b7bdb18c - implement: refactor in file 2021-10-04 11:07:35 +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 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