File: show-filename.lua

package info (click to toggle)
geany-plugins 0.21.1.dfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 11,460 kB
  • sloc: ansic: 47,147; sh: 11,024; makefile: 1,099; python: 229
file content (9 lines) | stat: -rw-r--r-- 294 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
--[[
  Show the path and filename of the current document in a message box
  The filename shown in the box can be selected and copied, so this script
  might actually come in handy when you need access to the filename.
--]]


geany.message("Current filename:", geany.filename() or "No File!")