~ubuntu-branches/debian/squeeze/geany-plugins/squeeze

« back to all changes in this revision

Viewing changes to geanylua/examples/info/show-filename.lua

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2009-07-10 22:56:41 UTC
  • Revision ID: james.westby@ubuntu.com-20090710225641-xc1126t7pq0jmpos
Tags: upstream-0.17.1
ImportĀ upstreamĀ versionĀ 0.17.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--[[
 
2
  Show the path and filename of the current document in a message box
 
3
  The filename shown in the box can be selected and copied, so this script
 
4
  might actually come in handy when you need access to the filename.
 
5
--]]
 
6
 
 
7
 
 
8
geany.message("Current filename:", geany.filename() or "No File!")
 
9