Skip to content

Commit 82a828a

Browse files
committed
Readme
1 parent c32d0a8 commit 82a828a

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

README.md

+19-4
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@ If you are using [Advanced Papyrus](https://github.com/Kapiainen/Advanced-Papyru
3434
- [Syntax highlighting](#syntax-highlighting)
3535
- [Build systems](#build-systems)
3636
- [Commands](#commands)
37-
- [Create default INI file](#create-default-ini-file)
38-
- [Open script](#open-script)
39-
- [Open parent script](#open-parent-script)
40-
- [Clear compiler error highlights](#clear-compiler-error-highlights-sublime-text-3-only)
37+
- [Create default INI file](#create-default-ini-file)
38+
- [Open script](#open-script)
39+
- [Open parent script](#open-parent-script)
40+
- [Clear compiler error highlights](#clear-compiler-error-highlights-sublime-text-3-only)
41+
- [Insert *\*enter noun here\**](#insert-42enter-noun-here42-sublime-text-3-only)
4142
- [Highlight compiler errors](#highlight-compiler-errors-sublime-text-3-only)
4243
- [Hide successful build results](#hide-successful-build-results-sublime-text-3-only)
4344

@@ -111,6 +112,20 @@ ScriptName X Extends Y
111112
If you type in the command *SublimePapyrus: Clear compiler error highlights*, then any lines highlighted with the *Highlight compiler errors* feature will cease to be highlighted. In case it takes a long period of time before you attempt to compile your script again and you find the highlighting to be distracting.
112113

113114

115+
######Insert *\*enter noun here\** (Sublime Text 3 only)
116+
This command can be used to insert valid arguments for functions like SKSE's *RegisterForMenu*. The commands follow the template *SublimePapyrus: Insert X (Library's name)*, where *X* is replaced with for example *menu name*. The purpose of these commands is to alleviate or even remove the need to either memorize valid options or look up the relevant documentation.
117+
118+
This feature has to be implemented on a per-library basis. This feature is currently supported by the following libraries:
119+
120+
- SKSE
121+
- Menu names
122+
- Input keycodes
123+
- Controls
124+
- DefaultObject keys
125+
126+
*SublimePapyrus: Insert menu name (SKSE)* starts the process of inserting a valid menu name used by SKSE's user interface functions. A menu will pop up showing you a list of valid arguments/menus that you can search through. The elements in the list are descriptive, but the actual menu name used by the functions will be inserted at the caret or replace the current selection. For example choosing the *Barter* option in the list will insert, or replace a selection, with *"BarterMenu"*.
127+
128+
114129
####Highlight compiler errors (Sublime Text 3 only)
115130
Lines, which cause the Papyrus compiler to report errors, can be automatically highlighted when compiling scripts in Sublime Text.
116131

0 commit comments

Comments
 (0)