It's continuation of the discussion #646 . Code example:

local s = geany.selection();

if (s ~= "") and (s ~= nil) then
  local t = geany.fileinfo();
  geany.newfile("", t.type);
  geany.selection(s);
end

Old/current scripts don't need to be updated, they will still work!


You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany-plugins/pull/652

Commit Summary

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.