aboutsummaryrefslogtreecommitdiff
path: root/properties.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2017-07-02 16:17:45 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2017-07-02 16:17:45 -0400
commite7b1218bc916df076f848723f0bd5ba4bc68fca7 (patch)
tree22a351f626d82c8acf28a03a5996b55592c80c68 /properties.lua
parentb855edab2944ea821e7a50c9bd03843c74dc2820 (diff)
downloadtextadept-e7b1218bc916df076f848723f0bd5ba4bc68fca7.tar.gz
textadept-e7b1218bc916df076f848723f0bd5ba4bc68fca7.zip
When searching in files, show more lines below a match.
Diffstat (limited to 'properties.lua')
-rw-r--r--properties.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/properties.lua b/properties.lua
index 4374162c..ad19ce8f 100644
--- a/properties.lua
+++ b/properties.lua
@@ -17,7 +17,7 @@ buffer.mouse_selection_rectangular_switch = true
buffer:set_x_caret_policy(buffer.CARET_SLOP, 20)
buffer:set_y_caret_policy(buffer.CARET_SLOP + buffer.CARET_STRICT +
buffer.CARET_EVEN, 1)
---buffer:set_visible_policy()
+buffer:set_visible_policy(buffer.VISIBLE_SLOP + buffer.VISIBLE_STRICT, 5)
--buffer.h_scroll_bar = CURSES
--buffer.v_scroll_bar = false
if CURSES and not (WIN32 or LINUX or BSD) then buffer.v_scroll_bar = false end