Commit Graph

108 Commits

Author SHA1 Message Date
Roy Qu e7db1a3a6f remove no use fields 2022-04-25 00:10:01 +08:00
Roy Qu a64bbd0d4b - enhancement: add project templates for tcp server / tcp client
- enhancement: only show function tips when cursor is after ',' or '('.
  - enhancement: when auto complete function names, only append '(' if before identifier or "/'
2022-04-22 15:55:39 +08:00
Roy Qu 0a1c2aea98 refactor: SynDocument and SynDocumentLine 2022-04-19 21:18:41 +08:00
Roy Qu 076a92fb77 - fix: tab/shift+tab not correctly handled in options dialog's code template page 2022-04-16 20:14:47 +08:00
Roy Qu ca0ad3249f - 功能增强:输入'('时,如果下一个非空白字符是'('或者标识符/数字,则不自动补全
- 功能增强:如果项目文件和项目的编码相同,则不保存它的编码信息
 - 修正:在保存文件时,会错误的使用缺省编码而不是文件原有的编码进行保存
2022-04-13 16:42:23 +08:00
Roy Qu 7e284b98f2 - fix: don't show tips in the editor, when selecting by mouse 2022-04-07 17:30:06 +08:00
Roy Qu 431f5bbced - enhancement: shift+ctrl+down/up to move currenlt selection lines up / down 2022-04-01 23:10:38 +08:00
Roy Qu f7a6db7005 - change: only auto complete symbol '(' when at line end, or there are spaces or right ')' '}' ']'after it
- fix: mouse drag may fail when start drag at the right half of the selection's last character
2022-03-31 19:36:46 +08:00
Roy Qu 8b224010e0 - enhancement: alt+shift+arrow do column selection
- fix: input may cause error, if selection in column mode and begin/end at the same column
  - enhancement: draw selection line if selection in column mode and begin/end at the same column
2022-03-25 12:59:53 +08:00
Roy Qu 4209241dea - fix: when size of undo items is greater than the limit, old items should be poped in group
- enhancement: max undo size in option dialog's editor->misc tab
2022-03-20 18:10:53 +08:00
Roy Qu ab4ca36fa4 - fix: hide function tip when scroll
- fix: short cut for goto definition/declaration doesn't work
2022-03-18 23:13:43 +08:00
Roy Qu 79b8478af3 - enhancement: match bracket 2022-03-13 18:45:48 +08:00
Roy Qu 9eac0fed26 - fix: wrong selection when drag & dropped in editor 2022-03-12 18:03:52 +08:00
Roy Qu dad39f6f74 - change: "locate in files view" won't change the working folder, if current file is in subfolders of the working folder
- enhancement: hide function tips, when input method is visible
2022-03-10 12:15:44 +08:00
Roy Qu b436312d19 - fix: undo one symbol completion as a whole operation 2022-03-07 20:51:56 +08:00
Roy Qu 1b8f3de21f - fix: calculation of caret position is not in consistence. 2022-03-07 20:30:45 +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 a7557899d1 - enhancement: setting non-ascii font for editors 2022-01-26 14:31:26 +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
royqh1979@gmail.com 4797c15b04 - enhancement: add exec charset option to compiler set settings 2022-01-24 11:23:30 +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 3d9edcad57 - enhancement: support ligatures in fonts like fira code ( disabled by default, can be turned on in options dialog's editor font page) 2022-01-10 20:16:26 +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 ba538c9b13 better auto indent calculation for '{' after if/for statement 2021-12-20 08:45:16 +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 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 03ae21ebf6 - enhancement: scroll while dragging text in the editor 2021-11-26 08:14:23 +08:00
royqh1979 7c0ee9857b - fix: "collapse all" and "uncollapse all" doesn't work 2021-11-13 17:41:16 +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 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 731a10a1d6 - enhancement: check syntax/parse symbols when modifed and cursor's line changed. 2021-11-04 00:38:40 +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 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 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 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 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 fee2115093 - fix: add mutex lock to prevent editor crash in rare conditions 2021-10-17 21:09:50 +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 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