aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2016-04-10 17:34:38 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2016-04-10 17:34:38 -0400
commit5477bff3be6505f83ef81687bb0a87b0d1a520fb (patch)
treec0265974f8880a7f69d795f4df46317f81a1e192
parent6418cd5a414d8c41a218550e1b997114e5e0a741 (diff)
downloadtextadept-5477bff3be6505f83ef81687bb0a87b0d1a520fb.tar.gz
textadept-5477bff3be6505f83ef81687bb0a87b0d1a520fb.zip
Small documentation update.
-rw-r--r--modules/textadept/find.lua2
-rw-r--r--modules/textadept/run.lua5
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*.