Hello Everyone,
Even though I'm new to Geany, I'm pleased by how adaptable and lightweight it is as an IDE. I've just now begun dabbling in the realm of Geany plugin development, and I would welcome some counsel and direction from individuals with greater expertise in this field.
I want to specifically make a custom plugin that will make my workflow more efficient. A few ideas come to mind, such incorporating an advanced syntax highlighting system for a lesser-known programming language that I use regularly. Still, I'm having trouble understanding the recommended practices for creating and managing plugins as well as Geany's plugin architecture.
I would be very grateful for any advice on the following:
Starting Point: Would you suggest any in-depth manuals or other resources to someone who is just starting out with Geany plugin development? I've read the official literature, but I'm still in need of more in-depth guides or illustrations to help me better understand the fundamental ideas.
Development Tools: Which libraries and tools are necessary to know in order to create plugins quickly and effectively? Exist any specific combinations or setups that help to streamline the process?
Best Practices: When creating Geany plugins, what are some typical errors or dangers to watch out for? I would be grateful for any guidance in writing clear, maintainable code.
Contributions from the Community: Ultimately, what is the process for returning a plugin to the community? Are there any particular rules or procedures to adhere to?
https://lists.geany.org/hyperkitty/list/commits@lists.geany.org/thread/GUH4…https://www.igmguru.com/cloud-computing/gcp-certification-traininghttps://lists.geany.org/hyperkitty/list/commits@lists.geany.org/thread/IGV5…
Thank you in advance.
Branch: refs/heads/master
Author: Jiří Techet <techet(a)gmail.com>
Committer: Jiří Techet <techet(a)gmail.com>
Date: Fri, 09 Aug 2024 22:30:49 UTC
Commit: 12f56701eff1a8ac504fff7d0cfc4998811c05f7
https://github.com/geany/geany/commit/12f56701eff1a8ac504fff7d0cfc4998811c0…
Log Message:
-----------
Hide autocompletion and calltip popups when code scrolled
When autocompletion or calltip popup is displayed and the user scrolls
the editor window (e.g. using a mouse wheel), these popups are still
displayed and become detached from the original point which is quite
ugly.
We can just simply dismiss them when the window scrolls.
Modified Paths:
--------------
src/editor.c
Modified: src/editor.c
6 lines changed, 6 insertions(+), 0 deletions(-)
===================================================================
@@ -500,6 +500,12 @@ static void on_update_ui(GeanyEditor *editor, G_GNUC_UNUSED SCNotification *nt)
ScintillaObject *sci = editor->sci;
gint pos = sci_get_current_position(sci);
+ if (nt->updated & (SC_UPDATE_H_SCROLL | SC_UPDATE_V_SCROLL))
+ {
+ SSM(sci, SCI_CALLTIPCANCEL, 0, 0);
+ SSM(sci, SCI_AUTOCCANCEL, 0, 0);
+ }
+
/* since Scintilla 2.24, SCN_UPDATEUI is also sent on scrolling though we don't need to handle
* this and so ignore every SCN_UPDATEUI events except for content and selection changes */
if (! (nt->updated & SC_UPDATE_CONTENT) && ! (nt->updated & SC_UPDATE_SELECTION))
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).