Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geanypg: Update to Scintilla 5.1.5 SCI_GETSELTEXT change #1154

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

techee
Copy link
Member

@techee techee commented Jan 12, 2022

@elextr
Copy link
Member

elextr commented Jan 12, 2022

Should not use send message directly, should use sci_get_selection_contents()

@techee
Copy link
Member Author

techee commented Jan 13, 2022

Should not use send message directly, should use sci_get_selection_contents()

Good point, then it doesn't need the API bump change.

But I think we should actually do ABI bump because the previous version won't work correctly, what do you think?

@elextr
Copy link
Member

elextr commented Jan 13, 2022

But I think we should actually do ABI bump because the previous version won't work correctly, what do you think?

Well thats part of Geany, and discussions elsewhere, not this PR, and as @kugel- pointed out elsewhere that won't help if the plugin gets re-compiled, but its better than nothing.

@kugel-
Copy link
Member

kugel- commented Aug 27, 2022

LGTM

The SCI_GETSELTEXT method of Scintilla changed so it returns a smaller
number of bytes than before. Instead, use the sci_ wrappers which are
independent of Geany version and should behave the same way regardless
of Geany version.
@techee
Copy link
Member Author

techee commented Oct 5, 2023

I'm merging this as I think the patch is OK - it should be the last piece of the Scintilla 5.1.5 aftermath.

@techee techee merged commit a53c5db into geany:master Oct 5, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants