Re: [Github-comments] [geany/geany] Folding code: more advanced ways to do it (#2920)

2021-10-07 Thread Vic
Of course, folding can only happen at a fold points. But what is considered as "node" in the tree of the file could be made to be more inclusive than the fold points. Because that changes the determination of the current level and thus the navigation and which fold points will be folded/unfolde

Re: [Github-comments] [geany/geany] Folding code: more advanced ways to do it (#2920)

2021-10-07 Thread elextr
Since you said in C1 that you wanted to fold at a "node" it will have to be a fold point, thats where folding happens. Scintilla allows fold points to be set randomly by the application, and by the lexers, but since lexers will overwrite random fold points each time they run it is probably im

Re: [Github-comments] [geany/geany] Folding code: more advanced ways to do it (#2920)

2021-10-07 Thread Vic
Thanks for commenting; I understand. My last edit about meaning of "node" was not suggest placing "fold points" at other places than defined by lexers, but to clarify how the navigation might proceed for "nodes at same level". But if it will be too hard to treat lines with fold points and with

Re: [Github-comments] [geany/geany] Folding code: more advanced ways to do it (#2920)

2021-10-07 Thread elextr
To address the last edit about applying to any line, fold points are defined by the lexers in the Scintilla editing widget, they can't be randomly placed. If the lexer isn't defining the fold points you need to address that there. -- You are receiving this because you are subscribed to this th

Re: [Github-comments] [geany/geany] Folding code: more advanced ways to do it (#2920)

2021-10-07 Thread elextr
I don't use folding much myself, but this looks reasonable, perhaps fold users could comment. But a couple of points, the keybindings should have menu equivalents so they are more discoverable or the actions usable if the keys are not bound. I don't like using up additional keys for default bi

[Github-comments] [geany/geany] Folding code: more advanced ways to do it (#2920)

2021-10-07 Thread Vic
Currently, the only ways to change the folding is: - toggle current fold - fold all - unfold all For files with many nodes (fold points) and deep levels of children nodes, it would be great to have commands for efficient navigation of the hierarchical structure , jumping from node to node and ex

[Github-comments] [geany/geany] Add keybindings to switch focus between Editor and sidebar/message window (#2919)

2021-10-07 Thread xiota
This PR adds keybindings to switch focus between: * Editor and VTE * Editor and Sidebar * Editor and Message Window It also adds a keybinding to switch focus to the status tab (every other msgwin tab has a keybinding). Existing keybindings to change focus are unchanged, for those who prefer th

Re: [Github-comments] [geany/geany-plugins] Debugger plugin missing in Geany 1.37.1 compiled for Ubuntu 18.04 on Nvidia Jetson Nano (#1116)

2021-10-07 Thread elextr
Maybe its [this](https://github.com/geany/geany/blob/5b307bc05dbb055a06dc83c1d749ffab46e259e4/src/Makefile.am#L193) manifesting itself in a different place. (RPATH mentioned is an older version of RUNPATH and does the same thing) You could try explicitly specifying the prefix to geany and pref

[Github-comments] [geany/geany-plugins] Geany Elixir and Phoenix Language plugins (#1117)

2021-10-07 Thread Joshua
Hi, Geany has language support for Erlang. Could we have support Elixir/Phoenix, as it compile to the same beam vm as Erlang? Many thanks -- 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-plugi

Re: [Github-comments] [geany/geany-plugins] Debugger plugin missing in Geany 1.37.1 compiled for Ubuntu 18.04 on Nvidia Jetson Nano (#1116)

2021-10-07 Thread Tim DeBenedictis
Thanks elextr. I did not build Geany or plugins with any special --prefix option. I just used defaults. Here are the exact steps I used to build both geany and plugins (I savied them from terminal scrollback): ``` sudo apt remove geany-common git clone https://github.com/geany/geany.git git c

Re: [Github-comments] [geany/geany] shortcut editor: add in "Focus" the shortcut: toggle editor/sidebar (#2914)

2021-10-07 Thread ralf3u
@elextr @xiota >Just out of interest, why do you need to shift focus to an output only >preview, doesn't it update automagically? >The preview pane does update itself, but if the changed area is out of view, >the user would have to scroll manually, since I don't know how to locate the >position

Re: [Github-comments] [geany/geany] Geany needs spyware (Discussion #2918)

2021-10-07 Thread elextr
Please note the number of emoji in discussions that mention adding spyware. To be clear, I do not support software having spyware, despite the potential benefits for developers. And as IANAL I don't know what legal issues spyware may have, even if its possible to turn it off. And anyway stat

[Github-comments] [geany/geany] Geany needs spyware (Discussion #2918)

2021-10-07 Thread xiota
Without spyware, it's difficult to know how many users there are and what plugins and features they use. Even if having this information couldn't help developers guide development, it would make them feel good knowing that their work is being put to good use. Anyone have any thoughts about thi

Re: [Github-comments] [geany/geany] Windows cross, GTK3 and x86_64 build preparations (#2590)

2021-10-07 Thread Enrico Tröger
@eht16 commented on this pull request. > @@ -135,7 +137,8 @@ _getpkg() { if [ "$use_cache" = "yes" ]; then package_info=$(pacman -Qi mingw-w64-$ABI-$1) package_version=$(echo "$package_info" | grep "^Version " | cut -d':' -f 2 | tr -d '[[:space:]]') -

Re: [Github-comments] [geany/geany] Remove left over lock file from intltool on "make distcheck" (#2911)

2021-10-07 Thread Enrico Tröger
> However, looks good from reading your links and the patch. Only > `$(top_builddir)/` doesn't really seem useful as it's in the top Makefile.am, > but it doesn't hurt either. Yeah, one could argue for both, `$(top_builddir)` and `$(builddir)`, in this case. When writing it, I was irresolute wh

[Github-comments] [geany/geany] `sidebar.c` symbols truncated (#2916)

2021-10-07 Thread elextr
Only a few of the symbols for the file `sidebar.c` show up in the symbols pane. This is due to the lines [here](https://github.com/geany/geany/blob/5b307bc05dbb055a06dc83c1d749ffab46e259e4/src/sidebar.c#L203) within a comment inside a macro not being backslashed confusing ctags. Because cpp

Re: [Github-comments] [geany/geany-plugins] GeanyLua: Enable running scripts for all signals (#1112)

2021-10-07 Thread elextr
> As far as I can tell, the newer versions are incompatible, and porting would > be a pain. Ok, so the plugin lifetime is until Lua 5.1 EOL or distro removal. > Was surprised to learn that Geany was still being built with GTK2 on Windows. The windows (like Mac) build system is the work of one p

Re: [Github-comments] [geany/geany-plugins] GeanyLua: Enable running scripts for all signals (#1112)

2021-10-07 Thread xiota
@elextr > Is there any newer Lua that could plug in? As far as I can tell, the newer versions are incompatible, and porting would be a pain. > Unfortunately Geanypy has now expired due to one of its dependencies being > stuck on GTK2. Distros are also dropping python2. So if it wasn't one th

Re: [Github-comments] [geany/geany] shortcut editor: add in "Focus" the shortcut: toggle editor/sidebar (#2914)

2021-10-07 Thread xiota
@elextr Thank you. I'll add a plugin specific shortcut to the preview plugin and wait for after the 1.38 release to think about submitting more general changes to either geany or geany-plugins. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or

Re: [Github-comments] [geany/geany] shortcut editor: add in "Focus" the shortcut: toggle editor/sidebar (#2914)

2021-10-07 Thread elextr
> I was thinking the lua plugin could be used for something like this Since there are existing focus keybindings for editor, sidebar, etc, they could be used [via this function](https://www.geany.org/manual/reference/keybindings_8h.html#a9b9034dde2091a8d2653d99fcb270a93) by a plugin that can ca