You should not set the lexer directly, set the Geany filetype instead.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/646#issuecomment-345417127
I added small script:
```lua
--[[
Copy selected text to new tab
2017.11.18
--]]
local s = geany.selection();
if (s == "") then
geany.message("No text is selected!");
elseif (s == nil) then
geany.message("There is no open document!");
else
--SCI_GETLEXER
local l =
IMO a few things are need to be resolved for this to progress:
1. As @AdamDanischewski said, some UI control is needed. The prefect solution
IMO is to extend the keybindings UI to allow binding to mouse buttons (with
modifiers) as well, so called "clickbindings".
Some mice have many buttons
Since the current default behavior is different, it may be argued to not make
it a default. Yet the functionality seems to be much better and I personally
would prefer to see Geany remain consistent with other editors that offer this
same functionality. It is a quirk in my opinion that Geany
I've now got ctrl-click multiple selections working, (I can make multiple
selections and type into all of them at once) on my [debugging
branch](https://github.com/Ryan1729/geany/tree/ryan1729debug). Note that that
branch simply deletes the old ctrl-click functionality, (and has a bunch of
Textadept is blazing fast, but I miss two features:
1. a "word/character counter" (not just for the file but also for a selection)
2. a "find and mark-all" (preferentially like Geany's Ctrl+shift+M)
I currently use Visual Studio Code, because it has all the features I use and
has many useful
Kind of like textadept now that I've played around with it, you have to a hack
a colorizer (theme) to get the color scheme to Geany though. Copy and modify a
theme in the themes directory under the source directory (exploded tar ball).
Presuming you named your cloned theme to be
@elextr It does say that it uses Scintilla as the core text editing component,
when I first browsed the code it looks like mainly lua, looking closer I see
some calls that create a Scintilla document. See textadept.c line no. 1355.
```
/**
* Creates a new Scintilla document and adds it to the
Textadept appears to use ScintillaGTK, not Scintilla directly, so it comes in a
library rather than included source code. That also means the API may be
different.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
@diohja Textadept does seem to have the feature yet it doesn't look like it's
really using Scintilla. It includes ScintillaLua a lexer for Scintilla. The
Scintilla functionality appears to have been recreated in Lua.
--
You are receiving this because you are subscribed to this thread.
Reply
Maybe the --socket-file option can help, as documenten on
[geany.org](https://www.geany.org/manual/current/#command-line-options)
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
11 matches
Mail list logo