[Github-comments] Re: [geany/geany] Support for multiple carets (PR #3899)

2024-06-18 Thread Jiří Techet via Github-comments
> Also, shouldn't we enable these for multiple carets (also affects rectangular > selection): If I understand correctly #625, this should fix it. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/3899#issuecomment-2176750376 You are receiving this because

[Github-comments] Re: [geany/geany] Issue with the terminal of the mac (Issue #3369)

2024-06-18 Thread Jiří Techet via Github-comments
Closed #3369 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3369#event-13204668841 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany] Support for multiple carets (PR #3899)

2024-06-18 Thread Jiří Techet via Github-comments
@techee pushed 1 commit. 58557119565ef34fb17b3ffac712c96ba45159b6 Fix defines in keyfile.c and indent them a bit to avoid similar problem in the future -- View it on GitHub: https://github.com/geany/geany/pull/3899/files/979a79a5faffbd01bdc6c154abdbb64d515c0291..58557119565ef34fb17b3ffac712c96

[Github-comments] Re: [geany/geany] Support for multiple carets (PR #3899)

2024-06-18 Thread Jiří Techet via Github-comments
@techee pushed 1 commit. 979a79a5faffbd01bdc6c154abdbb64d515c0291 Merge branch 'master' into multi_cursor -- View it on GitHub: https://github.com/geany/geany/pull/3899/files/e221a9886cc146e4483364b984b04e627c677b53..979a79a5faffbd01bdc6c154abdbb64d515c0291 You are receiving this because you a

[Github-comments] Re: [geany/geany] Support for multiple carets (PR #3899)

2024-06-18 Thread Jiří Techet via Github-comments
Also, shouldn't we enable these for multiple carets (also affects rectangular selection): - `SCI_SETMULTIPASTE` - paste is performed at all caret positions instead of the main one - `SCI_AUTOCSETMULTI` - autocompletion is performed at all caret positions When someone creates a multiple selection

[Github-comments] Re: [geany/geany] Support for multiple carets (PR #3899)

2024-06-18 Thread Jiří Techet via Github-comments
@techee pushed 1 commit. e221a9886cc146e4483364b984b04e627c677b53 Don't use event->state directly -- View it on GitHub: https://github.com/geany/geany/pull/3899/files/fc5bdd6f969e84f94ae00302ee4a974aad16b0d9..e221a9886cc146e4483364b984b04e627c677b53 You are receiving this because you are subscr

[Github-comments] Re: [geany/geany] Support for multiple carets (PR #3899)

2024-06-18 Thread Jiří Techet via Github-comments
@techee commented on this pull request. > @@ -288,6 +288,21 @@ void editor_snippets_init(void) } +gboolean motion_notify_event(GtkWidget* widget, GdkEventMotion event, gpointer data) +{ + GeanyEditor *editor = data; + + if (event.state & GDK_BUTTON1_MASK && event.state & GDK_MO

[Github-comments] Re: [geany/geany] Support for multiple carets (PR #3899)

2024-06-18 Thread Jiří Techet via Github-comments
Alright, I added the configurability of modifiers - for now it's under Editor->Features, could be placed somewhere else if someone has a better idea: https://github.com/geany/geany/assets/713965/7ceb31e3-b9fa-4a59-9553-bd82256da463";> For - "Goto definition" and "Multiple carets", one can choos

[Github-comments] Re: [geany/geany] Support for multiple carets (PR #3899)

2024-06-18 Thread Jiří Techet via Github-comments
@techee pushed 1 commit. fc5bdd6f969e84f94ae00302ee4a974aad16b0d9 Disallow overlapping selections -- View it on GitHub: https://github.com/geany/geany/pull/3899/files/e01bd7fe10324eddc4219bf96a33b68e041d567b..fc5bdd6f969e84f94ae00302ee4a974aad16b0d9 You are receiving this because you are subscr

[Github-comments] Re: [geany/geany] Possible plugin extension interface for symbol tree (PR #3910)

2024-06-18 Thread Thomas Martitz via Github-comments
GBoxed works for non-C. You just have to add a non-C-friendly allocation/constructor because there's no generic `g_boxed_new()`. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/3910#issuecomment-2175505360 You are receiving this because you are subscribe

[Github-comments] Re: [geany/geany] Fix stuck MRU dialog when Geany loses focus (PR #3907)

2024-06-18 Thread elextr via Github-comments
@b4n I said: > Oh, I'm not defending it as non-buggy, I'm saying that I suspect there to be > lots of similar bugs It seems like you are not getting the meaning of what I say. Of course its Geany bugs, Geany does not meet the conditions for reentrant software, but thats not just MRU or this or

[Github-comments] Re: [geany/geany] Possible plugin extension interface for symbol tree (PR #3910)

2024-06-18 Thread Colomban Wendling via Github-comments
(no time for this right now, but…) GObjects are nice for language inteop with GI indeed, but they aren't as cheap as e.g. a boxed type (just think about all the bells and whistles like properties, signals, private data, etc) and AFAIK a boxed type that has its own refcount works fine (just lies

[Github-comments] Re: [geany/geany] Possible plugin extension interface for symbol tree (PR #3910)

2024-06-18 Thread Thomas Martitz via Github-comments
Generally speaking, non-C is supported well only for GObject-based interfaces. A python plugin can easily define a GObject-derived type purely implemented in Python. For anything else you need at least some supporting C code around. This is essentially what the "lib"-part of peasy does. It defi