aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2007-08-11 19:14:37 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2007-08-11 19:14:37 -0400
commit96383b1dbbfe70ea0949075ead78f6f428d1eacd (patch)
tree692e6fc988512c91707b8ea4cc6b2e86fbaf9b3e /core
parenta8c20228dc197cb2f947ec123b741468baed51d2 (diff)
downloadtextadept-96383b1dbbfe70ea0949075ead78f6f428d1eacd.tar.gz
textadept-96383b1dbbfe70ea0949075ead78f6f428d1eacd.zip
Textadept title also shows full filepath of the open buffer; core/handlers.lua
Diffstat (limited to 'core')
-rw-r--r--core/handlers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/handlers.lua b/core/handlers.lua
index e0a7a8e0..1fcdb26d 100644
--- a/core/handlers.lua
+++ b/core/handlers.lua
@@ -161,7 +161,7 @@ local function set_title(buffer)
local buffer = buffer
local filename = buffer.filename or 'Untitled'
local d = buffer.dirty and ' * ' or ' - '
- textadept.title = filename:match('[^/]+$')..d..'Textadept'
+ textadept.title = filename:match('[^/]+$')..d..'Textadept ('..filename..')'
end
add_handler_function('save_point_reached',