Commit Graph

272 Commits

Author SHA1 Message Date
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
royqh1979@gmail.com b8c1e937bf work save 2021-07-01 22:29:51 +08:00
royqh1979@gmail.com eb827f019d work save 2021-07-01 22:23:24 +08:00
royqh1979 f914994993 * work save 2021-07-01 20:24:47 +08:00
royqh1979 38edefa59b * work save 2021-07-01 19:44:38 +08:00
royqh1979 effd416389 * work save: compile & run 2021-06-25 12:40:11 +08:00
royqh1979 94ae45cca4 * work save : color scheme 2021-06-24 22:33:57 +08:00
royqh1979 a4da674e03 * work save: back ground syntax check 2021-06-24 20:43:09 +08:00
royqh1979@gmail.com 1f403198e5 * work save: syntax error display in the editor 2021-06-24 16:05:19 +08:00
royqh1979@gmail.com aad78fa475 * fix: use backspace to delete selected text is not correctly handled
* done: delete symbol pairs
2021-06-23 08:55:56 +08:00
royqh1979@gmail.com 0f59b1c665 * work save for symbol completion 2021-06-22 23:00:34 +08:00
royqh1979 10b7f3064a * fix: random crash when editing
* change: symbol completion option ui
2021-06-21 22:17:37 +08:00
royqh1979 fd9b41ac6d * work save for symbol completion options 2021-06-21 22:01:35 +08:00
royqh1979 08a89abe59 * work done : toggle comments
* if compile failed, use message box to notify the user
2021-06-21 11:21:26 +08:00
royqh1979@gmail.com 021873a9d6 * work save: color scheme options 2021-06-20 14:30:47 +08:00
royqh1979 9390545641 * work save 2021-06-20 09:27:37 +08:00
royqh1979 6d7bfcd62a * work save: editor color scheme option 2021-06-19 22:58:35 +08:00
royqh1979@gmail.com e3abdb88b7 * work save: can load color scheme now 2021-06-18 22:57:19 +08:00
royqh1979@gmail.com bbe3b555a6 * add: html exporter
* add: copy as html
 * correctly update status bar
 * correctly update action states
 * correctly change/convert  encoding
2021-06-12 22:36:23 +08:00
royqh1979@gmail.com aea51d21e4 * work save; add rtf exporter 2021-06-10 09:34:59 +08:00
royqh1979@gmail.com 0f0ca96545 * finish editor font option form
* refactor: remove width property from SynGutter
 * finish gutter click event process
 * mouse wheel scroll contents in the SynEdit
2021-06-09 17:12:23 +08:00
royqh1979@gmail.com 229148c309 * refactor: remove mMaxScrollWidth variable from qsynedit/CodeFolding.cpp
* add: editor font options form
2021-06-08 21:41:42 +08:00
royqh1979@gmail.com a0d142f6df * fix: new file's name errorString
* fix: display error when row number digit count's Changed
 * fix: top line is not correctly setted, when add new lines after the last line just above the editor's bottom
2021-06-07 21:34:48 +08:00
royqh1979@gmail.com 1f74245f0a * basic settings for the editor 2021-06-07 11:02:03 +08:00
royqh1979@gmail.com 35249d57df * fix undo bug 2021-06-06 09:45:08 +08:00
royqh1979@gmail.com 646550cf06 * undo/redo 2021-06-05 23:43:45 +08:00
royqh1979@gmail.com c8f72ebdf5 * can do basic editing now 2021-06-04 21:27:51 +08:00
royqh1979@gmail.com 89af3d6b4f * work save 2021-06-03 23:18:51 +08:00
royqh1979@gmail.com 8256928f53 * work save 2021-06-03 20:26:36 +08:00
royqh1979@gmail.com 83bc63f14e work save 2021-05-29 21:35:46 +08:00