Commit Graph

40 Commits

Author SHA1 Message Date
934055601b change insertion function to always replace partial word with completion
Also change popup mode to always display all possible completions
and only highlight the current selection. This seems more beginner friendly.
2023-09-18 18:03:27 -04:00
7f4de6b8b9 more use of QRegExp instead of QRegularExpression for QT version < 5.15 2023-09-17 19:52:00 -04:00
20be9e64cf use split_line convenience function for better consistency and backward compatibility 2023-09-17 19:44:15 -04:00
f8e65b19a2 add completion for compute and fix ID references 2023-09-08 10:43:31 -04:00
778263673c add completion for variables and variable references 2023-09-08 08:57:17 -04:00
f293c5dd87 don't add the same group name twice 2023-09-08 08:38:54 -04:00
1d851a6cff fix some spelling issue. Start auto-complete after 2 characters 2023-09-07 23:53:21 -04:00
2d76f9e4ac add completion for group id 2023-09-07 18:02:02 -04:00
9036717f1e add completions for unit styles 2023-09-04 20:56:55 -04:00
2b90e1143a add missing %1 for arg() method 2023-09-02 18:36:05 -04:00
cf9ce0ebed support displaying completions from editor context menu 2023-09-02 10:48:36 -04:00
98b803eba9 implement workaround for broken word under cursor selection in QTextCursor class 2023-09-02 09:44:13 -04:00
4d409906fe implement more completions, skip suffixed styles, support variable styles 2023-09-01 23:02:51 -04:00
cb446f5e7f simplify auto-completion 2023-09-01 20:04:47 -04:00
8383da5e74 create individual completer classes for different styles, use macros 2023-09-01 19:57:42 -04:00
b2ba1bbe70 implement automatic completion popup and reformat on return 2023-09-01 07:27:52 -04:00
b478888ede move processing of completion to separate function 2023-09-01 02:52:26 -04:00
b6d10d1e20 implement command completion popup 2023-09-01 02:43:32 -04:00
156ab0b338 add reformat to context menu, formatting width may be changed in preferences 2023-08-31 23:25:30 -04:00
7a9aa7950c add special case formatting for *_coeff commands 2023-08-31 21:58:39 -04:00
8ac45a8a02 reformat line when Tab key is pressed 2023-08-31 21:39:43 -04:00
5b5210130c improve highlighting settings to also show errors with different color 2023-08-25 21:19:05 -04:00
6cc021bcaf when updating the highlight also update cursor position 2023-08-25 17:35:38 -04:00
6759a20cfc remove dead code 2023-08-25 17:35:05 -04:00
8a7c1f3d0d add support for add a highlight for the currently active input line to the line number display 2023-08-24 21:25:57 -04:00
3a7efdfb8c implement setFont() method that sets the font for the entire editor window 2023-08-24 21:25:14 -04:00
89fc0ad68a correctly extract local file name from dropped URI 2023-08-19 17:46:41 -04:00
a4390529ab automatically copy "About LAMMPS" dialog text to clipboard 2023-08-19 09:28:11 -04:00
a07f02c135 more howto documentation updates 2023-08-13 17:13:19 -04:00
8076f77e1e add missing connect() macro 2023-08-13 00:14:46 -04:00
e7b02e89fa also linke the principal command when linking styles 2023-08-12 20:13:40 -04:00
bbcfbe957b implement context specific help either via right-click or CTRL-? 2023-08-12 17:46:10 -04:00
c95bf2c14b add image viewer dialog for write_dump image output, help can open link to manual 2023-07-30 19:23:42 -04:00
12fee35d78 fix bugs and typos 2023-07-30 13:32:46 -04:00
ac9163447c minor layout and behavior tweaks 2023-07-30 07:23:32 -04:00
c1d690d190 implement drag-n-drop for files 2023-07-28 05:04:19 -04:00
5d34cc624d temporarily disable highlighting a line 2023-07-25 13:06:52 -04:00
4fd648c11e add copyright message 2023-07-25 12:18:00 -04:00
a402d2c6d8 simplify, move redundant operations to functions, update coding style 2023-07-25 10:16:20 -04:00
a49a1b644e update main widget to CodeEditor with line numbers and highlight. Open file from command line. 2023-07-25 00:13:53 -04:00