If one creates a multi line cursor at the start of some lines and then pushes back space, nothing happens in Geany. In Vscode, the preceding new lines are deleted concatenating all the text in the lines onto the preceding line, which is useful. Please could Geany do the same thing in this situation to minimize surprise?
https://github.com/user-attachments/assets/58232536-fb01-49a2-a468-b6db4175…
![GeanyVersion](https://github.com/user-attachments/assets/151f3644-3f35-4b62-b70f-5d4b47a30d82)
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4166
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/4166(a)github.com>
If I have a long file and I make some changes near the center of the file, then scroll elsewhere in the file, then decide to undo the changes, the undone text appears at the bottom of the edit pane, rather than in the middle of the pane.. Please could the undone text appear in the middle because there it would be much easier to see the surrounding context to help judge how far back to undo. Having the undone text at the bottom of the pane makes judging how far back to undo very difficult. Please see the attached video for a demonstration of this effect in action.
https://github.com/user-attachments/assets/0b9c143b-23b7-4c6c-83c2-65bac67d…
![GeanyVersion](https://github.com/user-attachments/assets/5dbd7c77-a90a-43f4-a5b2-b2d638fcb21e)
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4167
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/4167(a)github.com>
When I edit with a multi line cursor and one of the lines is blank from the start of the line up to the cursor, pushing backspace causes the text to the right of the cursor on that line to cross the cursor and then get deleted. The net effect is to delete to the right when attempting to delete to the left as show in the attached video:
https://github.com/user-attachments/assets/0411ea6d-890c-47b4-a638-3556374c…
Please could Geany not do this as it is unexpected behavior?
![GeanyVersion](https://github.com/user-attachments/assets/127b9658-4809-40a5-9fdd-68c84d9e0ffc)
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4165
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/4165(a)github.com>
I installed both Geany Nightly and Geany Plugins Nightly.
geany-2.1_git_20241127021509_22a8a1f55_setup.exe
geany-plugins-2.1_git_20241127022112_8d924fd1_setup.exe
Geany will fail to run because missing of these dlls: `libjpeg-8.dll`, `libtiff-6.dll`, `libdeflate.dll`, `libjbig-0.dll`, `libLerc.dll`, `libwebp-7.dll`, and `libsharpyuv-0.dll`.
My educated guess: new dependencies being introduced but the old packaging script is not updated to copy them.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4084
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/4084(a)github.com>
Hi,
in hightlighting.c there is a comment:
`/* ... keyword_idx is used for both style_sets[].keywords and scintilla keyword style number */ `
Is it possible to make this independant? This would be nice. I'm writing a new lexer, which requires independ
(ordered) keyword lists from styling lists (see highlightingmappings.h HLStyle vs. HLKeyword).
Definition is as follows:
```
#define highlighting_lexer_UNI SCLEX_UNI
static const HLStyle highlighting_styles_UNI[] =
{ // list index
{ SCE_UNI_S_DEFAULT, "Default", FALSE}, // 0
{ SCE_UNI_S_COMMENT, "CommentOneline", FALSE}, // 1
{ SCE_UNI_S_COMMENT_ML, "CommentMultiline", FALSE}, // 2
{ SCE_UNI_S_COMMENT_DOC, "CommentDocument", FALSE}, // 3
{ SCE_UNI_S_PRIMARYKEY, "PrimaryKey", FALSE}, // 4
{ SCE_UNI_S_SECONDARYKEY, "SecondaryKey", FALSE}, // 5
{ SCE_UNI_S_KEYLIST3, "KeyList3", FALSE}, // 6
{ SCE_UNI_S_KEYLIST4, "KeyList4", FALSE}, // 7
{ SCE_UNI_S_KEYLIST5, "KeyList5", FALSE}, // 8
....
```
```
static const HLKeyword highlighting_keywords_UNI[] =
{ // list index
{ SCE_UNI_K_DEFAULT , "Default", FALSE}, // 0
{ SCE_UNI_K_COMMENT , "CommentOneline", FALSE}, // 1
{ SCE_UNI_K_COMMENT_ML_S , "CommentMultilineStart",FALSE}, // 2
{ SCE_UNI_K_COMMENT_ML_E , "CommentMultilineEnd", FALSE}, // 3
{ SCE_UNI_K_COMMENT_DOC_S , "CommentDocumentStart", FALSE}, // 4
{ SCE_UNI_K_COMMENT_DOC_E , "CommentDocumentEnd", FALSE}, // 5
{ SCE_UNI_K_PRIMARYKEY , "PrimaryKey", FALSE}, // 6
{ SCE_UNI_K_SECONDARYKEY , "SecondaryKey", FALSE}, // 7
{ SCE_UNI_K_KEYLIST3 , "KeyList3", FALSE}, // 8
{ SCE_UNI_K_KEYLIST4 , "KeyList4", FALSE}, // 9
{ SCE_UNI_K_KEYLIST5 , "KeyList5", FALSE}, // 10
....
```
As you can see, it is not possible to match list indices for keywords and styles by list index (e.g. Multiline Styles
have two keyword lists, one for start and one for end of comment).
So I plan to assign to SCE_UNI_K_.. values from 100 and to SCE_UNI_S_.. values from 200.
Anyway, in highlighting.c, when filling from filetypes.xxx, there should match to correct style_sets.styleset - searched by "guint style;" (HLStyle) and "guint id;" (HLKeyword).
br
HoTschir
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/4154
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/repo-discussions/4154(a)github.com>
This I believe is my last Lua script request I have for the GeanyLua plugin.
This one although I do have a use for this, is more for learning purpose.
I do not think any other users will really find this one useful.
Was wondering if anyone would be willing to provide two Lua scripts that when applied, adds a specified number of blank lines to current document. Basically the equivalent of hitting the "Enter" key over and over “x” amount of times.
No dialog boxes need, would just like to be able to just change the number of lines to be added within the Lua script text file itself, if possible.
Two scripts
1.) Add 15 blank lines below line that cursor is currently in
2.) Add 25 blank lines to the bottom of the current document regardless of where cursor is.
Thank You to anyone interested.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/4091
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/repo-discussions/4091(a)github.com>
I am aware that there are already some Python based tools that can achieve most of these items, but I was wondering if anyone would be willing to provide Lua based versions to use with the GeanyLua plugin.
Each one would be its own separate script.
`All Uppercase`
APPLE TREE
`All Lowercase`
apple tree
`Capitalize just the first letter`
Apple tree
`Capitalize the first letter of each word`
Apple Tree
Thank You
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/4086
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/repo-discussions/4086(a)github.com>
I was wondering if anyone knew if GeanyLua plugin / Lua scripts in general can run Linux command line commands, similar to the Geany build in feature "Send to Custom Commands", and apply them to documents in the same way.
For a quick example, it was pointed out to me that the "sort" command can be used within documents.
`sort -f`
Which changes the sort order of the highlighted items in alphabetical order.
Does anyone by any chance know if this is possible to do the same using GeanyLua plugin with a Lua script?
If so would anyone be willing to provide a kind of "template" Lua script that can achieve this?
Template can use the same example mentioned above "sort -f"
Then me/other users can just edit the "template" script changing the command and any options desired to apply to document in Geany.
Thank You
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/4070
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/repo-discussions/4070(a)github.com>