mirror of
https://github.com/huderlem/porymap.git
synced 2026-10-02 12:56:38 -05:00
Add support for finding and opening any event script
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
<item row="6" column="0" colspan="2">
|
||||
<widget class="QLabel" name="label_TextEditorGotoLineHelp">
|
||||
<property name="text">
|
||||
<string><html><head/><body><p>This is the command that will be executed when clicking the <span style=" font-weight:600;">Open Map Scripts</span> button<span style=" font-weight:600;">. %F</span> will be substituted with the scripts file path and <span style=" font-weight:600;">%L</span> will be substituted with the line number of the script for the currently selected event. <span style=" font-weight:600;">%F </span><span style=" font-style:italic;">must</span> be specified if <span style=" font-weight:600;">%L</span> is specified. If <span style=" font-weight:600;">%F</span> is <span style=" font-style:italic;">not</span> specified then the scripts file path will be appended to the end of the command.</p></body></html></string>
|
||||
<string><html><head/><body><p><span style=" font-size:11pt;">When this command is set a button will appear next to the </span><span style=" font-size:11pt; font-weight:600; font-style:italic;">Script</span><span style=" font-size:11pt;"> combo-box in the </span><span style=" font-size:11pt; font-weight:600; font-style:italic;">Events</span><span style=" font-size:11pt;"> tab which executes this command.</span><span style=" font-size:11pt; font-weight:600;"> %F</span><span style=" font-size:11pt;"> will be substituted with the file path of the script and </span><span style=" font-size:11pt; font-weight:600;">%L</span><span style=" font-size:11pt;"> will be substituted with the line number of the script in that file. </span><span style=" font-size:11pt; font-weight:600;">%F </span><span style=" font-size:11pt; font-style:italic;">must</span><span style=" font-size:11pt;"> be given if </span><span style=" font-size:11pt; font-weight:600;">%L</span><span style=" font-size:11pt;"> is given. If </span><span style=" font-size:11pt; font-weight:600;">%F</span><span style=" font-size:11pt;"> is </span><span style=" font-size:11pt; font-style:italic;">not</span><span style=" font-size:11pt;"> given then the script's file path will be added to the end of the command. If the script can't be found then the current map's scripts file is opened.</span></p></body></html></string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
||||
@@ -109,7 +109,7 @@
|
||||
<item row="1" column="0" colspan="2">
|
||||
<widget class="QLabel" name="label_TextEditorOpenFolderHelp">
|
||||
<property name="text">
|
||||
<string><html><head/><body><p>This is the command that will be executed when clicking <span style=" font-weight:600;">Open Project in Text Editor</span> in the <span style=" font-weight:600;">Tools</span> menu. <span style=" font-weight:600;">%D</span> will be substituted with the current project's root directory. If <span style=" font-weight:600;">%D</span> is <span style=" font-style:italic;">not</span> specified then the project directory will be appended to the end of the command.</p></body></html></string>
|
||||
<string><html><head/><body><p><span style=" font-size:11pt;">This is the command that is executed when clicking </span><span style=" font-size:11pt; font-weight:600; font-style:italic;">Open Project in Text Editor</span><span style=" font-size:11pt;"> in the </span><span style=" font-size:11pt; font-weight:600; font-style:italic;">Tools</span><span style=" font-size:11pt;"> menu. </span><span style=" font-size:11pt; font-weight:600;">%D</span><span style=" font-size:11pt;"> will be substituted with the project's root directory. If </span><span style=" font-size:11pt; font-weight:600;">%D</span><span style=" font-size:11pt;"> is </span><span style=" font-size:11pt; font-style:italic;">not</span><span style=" font-size:11pt;"> specified then the project directory will be added to the end of the command.</span></p></body></html></string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
||||
|
||||
Reference in New Issue
Block a user