Commit Graph

221 Commits

Author SHA1 Message Date
Roy Qu 67cd580539 - fix: delete & insert in column mode not correctly handled
- fix: input with ime in column mode not correctly handled
2022-05-18 23:17:06 +08:00
Roy Qu e1ac7cafb0 - fix: selection in column mode not correctly drawn when has wide chars in it 2022-05-18 15:52:19 +08:00
Roy Qu f412eedcb0 - fix: selection calculation error when editing in column mode 2022-05-14 16:06:57 +08:00
Roy Qu cd4bfdfa23 - fix: index of the longest line not correctly updated when inputting with auto completion open 2022-05-04 00:08:04 +08:00
Roy Qu 16cb8faf85 valgrind fix 2022-04-25 11:06:12 +08:00
Roy Qu 2056d42286 fix valgrind problems 2022-04-25 10:47:19 +08:00
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 5743991152 - fix: scroll bar not correctly updated when collapse/uncollapse folders 2022-04-18 16:17:06 +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 f93a57c82d - fix: ctrl+shift+end doesn't select 2022-04-07 15:16:11 +08:00
Roy Qu 65b328396c better device ratio support 2022-04-02 18:42:43 +08:00
Roy Qu 9302439fcb - fix: can't compile under linux
- enhancement: support Devcie Pixel Ratio ( for linux )
2022-04-02 18:22:29 +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 7c218b7d5a - enhancement: better display when input with IM under column mode
- enhancement: better display current lines under column mode
  - change: test to use utf-8 as the default encoding (prepare to use libclang to implement parser)
2022-03-26 19:10:14 +08:00
Roy Qu 3ba5811edf - enhancement: refine behavior of undo input space char 2022-03-26 11:49:41 +08:00
Roy Qu 225eb1961a - enhancement: press tab in column mode won't exit column mode 2022-03-26 09:54:06 +08:00
Roy Qu 0fc995e56a - enhancement: draw cursor for column mode
- enahcnement: edit/delete in multiline ( column mode), press ese to exit
2022-03-25 22:13:00 +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 c979ef1505 - enhacement: alt+shift+arrow do column selection 2022-03-25 10:43:07 +08:00
Roy Qu 96631049eb - fix: goto declaration by ctrl+click will incorrectly select contents 2022-03-24 10:55:17 +08:00
Roy Qu 947374b907 - fix: when editor font is too small, fold signs on the gutter are not correctly displayed
- fix: expand fold signs on the gutter are not correct
2022-03-20 20:56:21 +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 49297431b6 - enhancement: press alt to switch to column selection mode while selection by mouse dragging in editor 2022-03-19 10:27:31 +08:00
Roy Qu 2e77734d67 remove nouse debug output 2022-03-18 23:17:01 +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 49080b88e1 - change: remove shortcuts for line/column mode 2022-03-17 20:57:43 +08:00
Roy Qu 8e00d50d1e - enhancement: ctrl+enter insert a new line at the end of current line 2022-03-16 21:13:59 +08:00
Roy Qu 021880b746 - fix: error when delete contents in column mode on lines that has wide-chars
- fix: error when create folder in files view
2022-03-15 15:34:34 +08:00
Roy Qu 469c5f21d3 - fix: error when insert text in column mode 2022-03-15 13:44:18 +08:00
Roy Qu 0d4b7d0d4d minor change 2022-03-15 00:24:10 +08:00
Roy Qu 65beccdbd1 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP
# Conflicts:
#	NEWS.md
2022-03-15 00:20:33 +08:00
Roy Qu 5a338ef892 - fix: correctly reset caret when redo cut with no selection 2022-03-15 00:15:35 +08:00
Roy Qu 1a0267de7b - fix: when no selection, copy/cut should auto select whole line with the line break 2022-03-14 23:55:02 +08:00
Roy Qu 79b8478af3 - enhancement: match bracket 2022-03-13 18:45:48 +08:00
Roy Qu dd5ce57608 - enhancement: disable "code completion" will disable enhanced syntax highlight 2022-03-13 18:31:05 +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 fa9916e28e - enhancement: symbol completion when editor has selection 2022-03-07 21:53:52 +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 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