aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/editing.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-09-21 22:30:37 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2013-09-21 22:30:37 -0400
commite18088407d2d25689c4c5b5783dee88ff210b293 (patch)
tree264847238c46ee0f520973ffc0f55be2d49ebe95 /modules/textadept/editing.lua
parentcfa0bb207fc4cf6a41d8d3c3b0df8339abf4ce2a (diff)
downloadtextadept-e18088407d2d25689c4c5b5783dee88ff210b293.tar.gz
textadept-e18088407d2d25689c4c5b5783dee88ff210b293.zip
Renamed `buffer:convert_eo_ls()` to `buffer:convert_eols()`.
Diffstat (limited to 'modules/textadept/editing.lua')
-rw-r--r--modules/textadept/editing.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua
index 4c9d149c..e06da349 100644
--- a/modules/textadept/editing.lua
+++ b/modules/textadept/editing.lua
@@ -175,7 +175,7 @@ events.connect(events.FILE_BEFORE_SAVE, function()
buffer:insert_text(e, '\n')
end
-- Convert non-consistent EOLs
- buffer:convert_eo_ls(buffer.eol_mode)
+ buffer:convert_eols(buffer.eol_mode)
buffer:end_undo_action()
end)
@@ -300,7 +300,7 @@ function M.block_comment()
end
---
--- Moves the caret to the beginning of line number *line* or the user-specified
+-- Moves the caret to the beginning of line number *line* or user-specified
-- line, ensuring the line is visible.
-- @param line Optional line number to go to. If `nil`, the user is prompted for
-- one.