Commit Graph

349 Commits

Author SHA1 Message Date
Roy Qu 00ea7ee773 create QSynedit namespace 2022-09-25 09:55:18 +08:00
Roy Qu 8474ae6b8f - fix: the size of horizontal caret is wrong 2022-09-07 15:08:31 +08:00
Roy Qu d438864a4d - change: reduce time intervals for selection by mouse 2022-08-25 16:53:06 +08:00
Roy Qu 40dec1b9ff - fix: (wrongly) use the default font to calculate non-ascii characters' width 2022-07-31 11:51:34 +08:00
Roy Qu 66746e8c3d - fix: indents for "default" are not the same with "case" 2022-07-30 10:22:27 +08:00
Roy Qu fc1de8f28c - fix: inefficient loop when render long lines 2022-07-29 18:33:08 +08:00
Roy Qu 1ce0ec3d32 - enhancement: disable column mode in readonly editors 2022-07-28 21:19:54 +08:00
Roy Qu a3cb17299b - fix: Drag&Drop no correctly disabled for readonly editors 2022-07-28 17:09:30 +08:00
Roy Qu 62caa94e23 - fix: selection is not correctly set after input in column mode 2022-07-25 14:32:12 +08:00
Roy Qu 7db3a7ebc1 - fix: block indent doesn't work 2022-07-25 09:45:06 +08:00
Roy Qu 1b56f1b615 refactor for clean 2022-07-24 22:53:20 +08:00
Roy Qu 17eb0c1f94 - enhancement: add select current word command in the Selection menu
- change: add Selection menu
  - enhancement: add memory view rows/columns settings in the settings dialog -> debugger -> general panel
  - enhancement: add "Go to Line..." in the Code menu
2022-07-21 15:28:07 +08:00
Roy Qu 777c295cc0 minor change 2022-07-06 14:19:07 +08:00
Roy Qu 8d59bf9abb - redesign redo system
- fix: correctly restore editor's modified status when undo/redo
2022-07-06 14:11:32 +08:00
Roy Qu 10631f54d7 work save 2022-07-06 00:06:07 +08:00
Roy Qu fc6b582402 clean up undolist 2022-07-05 22:25:28 +08:00
Roy Qu 2ff9dee9c0 clean up qsynedit 2022-07-05 22:05:12 +08:00
Roy Qu a6f334f837 remove all warnings 2022-07-04 11:39:06 +08:00
Roy Qu 2d7c2145e3 - enhancement: prevent group undo when caret position changed
- fix: undo link break may lose leading spaces
  refactor undo
2022-07-04 10:01:40 +08:00
Roy Qu a86544d6ae remove debug infos 2022-07-03 13:09:42 +08:00
Roy Qu 7ba5f3e5c8 fix: undo chains 2022-07-03 13:08:14 +08:00
Roy Qu 76f0b9d17b - fix: calculation of the code block ranges when inserting/deleting 2022-07-03 12:00:05 +08:00
Roy Qu 1a36822b18 fix: fold range processing 2022-07-03 11:22:10 +08:00
Roy Qu 348788bbcd - enhancement: prohibit move selection up/down under column mode
- enhancement: prohibit move selection up/down when the last line in selection is a folded code blocks
  - enhancement: check validity of selection in column mode when moving caret by keyboard
  - enhancement: check validity of selection in column mode when moving caret by mouse
  - enhancement: only allow insert linebreak at the end of folded code block
  - enhancement: only allow delete whole folded code block
  - refactor of undo system
2022-07-02 20:19:37 +08:00
Roy Qu 39dd7e3abb work save: redo done 2022-07-02 17:59:07 +08:00
Roy Qu 655f0bf83e work save : undo almost done 2022-07-02 14:06:10 +08:00
Roy Qu 3f814901d5 work save 2022-07-02 10:39:31 +08:00
Roy Qu cd135b19a2 work save 2022-07-02 06:44:01 +08:00
Roy Qu a6b24290c9 - enhancement: position caret at end of the line of folded code block
- enhancement: copy the whole folded code block
  - enhancement: delete the whole folded code block
  - fix: correctly update the folding state of code block, when deleted
2022-06-28 21:46:20 +08:00
Roy Qu 2008437342 auto indents for comments 2022-06-28 12:22:40 +08:00
Roy Qu 0985b6444b - fix: wrong auto indent calculation for comments 2022-06-28 09:37:18 +08:00
Roy Qu 895a927ee0 - fix: select all shouldn't set file's modified flag
- enhancement: add (return)type info for functions/varaibles/typedefs in the class browser panel
2022-06-23 13:05:10 +08:00
Roy Qu c4ca944a15 - fix: can't paste contents copied from Clion/IDEA/PyCharm 2022-06-16 09:11:45 +08:00
Roy Qu 5a31e1dd42 - fix: rename macro doesn't work in project
- fix: can't remove a shortcut
  - enhancement: hide all menu actions in the option dialog's shortcut panel
2022-06-12 22:54:34 +08:00
Roy Qu 2182553fe1 - fix: rename macro doesn't work in project 2022-06-12 18:26:39 +08:00
Roy Qu 10fb1d5c17
Merge pull request #45 from RigoLigoRLC/MacHack
WIP:添加MacOS支持,顺便对不同平台设置默认界面字体
2022-05-30 18:16:27 +08:00
RigoLigo c8b1fbbc83 Added default font for MacOS 2022-05-30 17:10:10 +08:00
RigoLigo 6cb2fb15eb Add hacks to make it build on MacOS 12.3
you need to install icu4c in brew
2022-05-29 00:30:46 +08:00
Roy Qu 106bf4281a disable undo limit by default 2022-05-19 13:19:47 +08:00
Roy Qu 3090fab089 - fix: copy & paste in column mode not correctly handled 2022-05-19 12:32:33 +08:00
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 2e66a3163c don't highlight '\' at line end as error 2022-05-05 09:58:55 +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 45744b43f0 - change: highlight whole #define statement using one color
- enhancement: don't highlight '\' as error
  - enhancement: hide add charset  option in project options dialog's compiler set page, when project compiler set is clang
  - fix: When generating project's makefile for clang, don't add -fexec-charset / -finput-charset command line options
2022-05-02 21:47:01 +08:00
Roy Qu d2a09dea24 - change: use Shift+Enter to break line 2022-04-29 16:15:18 +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