aboutsummaryrefslogtreecommitdiff
path: root/core/events.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2010-10-14 21:09:46 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2010-10-14 21:09:46 -0400
commit3aa3f9f30142ea40dc20cb0aba462fdc5ac0da64 (patch)
tree4627624ca45905b494e212a74ca3f5f72de7248d /core/events.lua
parent8d29321eeba9f77dcd3aaaa9fd504d5f736463e7 (diff)
downloadtextadept-3aa3f9f30142ea40dc20cb0aba462fdc5ac0da64.tar.gz
textadept-3aa3f9f30142ea40dc20cb0aba462fdc5ac0da64.zip
Code formatting changes.
Diffstat (limited to 'core/events.lua')
-rw-r--r--core/events.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/events.lua b/core/events.lua
index 3591d6df..96cb082b 100644
--- a/core/events.lua
+++ b/core/events.lua
@@ -296,9 +296,8 @@ local function set_title(buffer)
local buffer = buffer
local filename = buffer.filename or buffer._type or locale.UNTITLED
local dirty = buffer.dirty and '*' or '-'
- gui.title =
- string.format('%s %s Textadept (%s)', filename:match('[^/\\]+$'), dirty,
- filename)
+ gui.title = string.format('%s %s Textadept (%s)', filename:match('[^/\\]+$'),
+ dirty, filename)
end
connect('save_point_reached',
@@ -350,8 +349,9 @@ connect('update_ui',
local tabs = (buffer.use_tabs and locale.STATUS_TABS or
locale.STATUS_SPACES)..buffer.indent
local enc = buffer.encoding or ''
- gui.docstatusbar_text =
- locale.DOCSTATUSBAR_TEXT:format(line, max, col, lexer, eol, tabs, enc)
+ gui.docstatusbar_text = locale.DOCSTATUSBAR_TEXT:format(line, max, col,
+ lexer, eol, tabs,
+ enc)
end)
connect('margin_click',
@@ -424,7 +424,7 @@ connect('quit',
'--title', locale.EVENTS_QUIT_TITLE,
'--text', locale.EVENTS_QUIT_TEXT,
'--informative-text',
- string.format('%s', table.concat(list, '\n')),
+ string.format('%s', table.concat(list, '\n')),
'--button1', 'gtk-cancel',
'--button2', locale.EVENTS_QUIT_BUTTON2,
'--no-newline') ~= '2' then