File: open-script.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 (12 lines) | stat: -rw-r--r-- 238 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
--[[
  Open a file from the Lua scripts folder.
--]]

local folder=geany.appinfo().scriptdir

local filter="Lua files|*.lua|All files|*"
local filename=geany.pickfile("open", folder, filter)

if (filename) then
  geany.open(filename)
end