Commit Graph

63 Commits

Author SHA1 Message Date
0216692698 add restart file inspector showing system info, data file, and snapshot image 2024-08-05 20:04:44 -04:00
081169b239 automatically switch between showing stable, release, latests doc pages 2024-08-03 14:35:37 -04:00
7c4b1bdc4a update include files according to include-what-you-use testing 2024-07-29 01:18:08 -04:00
08d47d389d remove include obsoleted in Qt6 2024-07-28 22:16:44 -04:00
c8818a16c5 Add menu entries to open LAMMPS tutorial website 2024-07-25 22:14:06 -04:00
7dc0ace48f file viewer can be called from File menu or context menu in editor if word under cursor is a file 2024-07-21 18:37:06 -04:00
c3272297fc use LAMMPS-GUI consistenly (instead of LAMMPS GUI) 2024-07-17 23:01:15 -04:00
9c8f7854ad avoid out-of-bounds string character access during completion 2024-07-06 00:50:15 -04:00
cefe76919c make more use of auto and thus avoid having to specify the same type twice 2024-07-04 11:12:40 -04:00
5674786acd add feature to comment out and uncomment lines and selections from context menu 2023-10-30 15:25:06 -04:00
784ae460a1 only offer completion in context menu, if there is something to complete 2023-10-27 13:18:19 -04:00
b6b8884bc6 clear data buffer when querying LAMMPS for info, check return values, use symbolic constant 2023-10-26 13:58:17 -04:00
ae8791c682 avoid out of bounds access to string under cursor 2023-10-13 08:17:10 -04:00
926de1575c avoid completion on empty lines 2023-10-13 06:20:19 -04:00
eff74405c1 don't replace end of line character from completion 2023-10-11 02:16:23 -04:00
84eab70fb4 must select entire non-blank string under cursor for completion insertions 2023-10-10 22:18:41 -04:00
b816029d70 pop down completion list when all characters have been deleted 2023-10-09 23:32:22 -04:00
b24e1e10a0 reposition the cursor for the context menu, but only if there is no selection 2023-10-09 22:59:14 -04:00
5a750c8633 automatically define variable "gui_run" to contain the run number 2023-09-29 17:42:30 -04:00
25e9c2a35b file completion only in current folder. hide popup when changing completer 2023-09-25 09:23:49 -04:00
29989f102a remove unused class members and silence compiler warnings 2023-09-24 23:08:59 -04:00
5201e6b2f1 add support for completion on file names 2023-09-24 16:31:28 -04:00
934269e456 move all icon files to the icons folder 2023-09-24 15:55:14 -04:00
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