diff options
-rw-r--r-- | modules/textadept/find.lua | 2 | ||||
-rw-r--r-- | modules/textadept/run.lua | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/modules/textadept/find.lua b/modules/textadept/find.lua index 6fab6fc2..6e234dbd 100644 --- a/modules/textadept/find.lua +++ b/modules/textadept/find.lua @@ -80,6 +80,8 @@ M.INDIC_FIND = _SCINTILLA.next_indic_number() -- Events. events.FIND_WRAPPED = 'find_wrapped' +-- When finding in files, note the current view since results are shown in a +-- split view. Jumping between results should be done in the original view. local preferred_view --- diff --git a/modules/textadept/run.lua b/modules/textadept/run.lua index 16721fc4..b782c78c 100644 --- a/modules/textadept/run.lua +++ b/modules/textadept/run.lua @@ -55,7 +55,8 @@ local M = {} -- behavior, connect to the event with an index of `1` and return `true`. -- Arguments: -- --- * `project`: The path to the project being built. +-- * `project`: The path to the project being built or the current working +-- directory of the project being built. -- * `output`: A line of string output from the command. module('textadept.run')]] @@ -70,6 +71,8 @@ M.MARK_ERROR = _SCINTILLA.next_marker_number() events.COMPILE_OUTPUT, events.RUN_OUTPUT = 'compile_output', 'run_output' events.BUILD_OUTPUT = 'build_output' +-- When running commands, note the current view since output is shown in a split +-- view. Jumping to any warnings or errors should be done in the original view. local preferred_view -- Executes a compile, run, or build shell command from *commands*. |