> The first stable version with the new API was released almost 2 years ago. I have myself ported a vte-based terminal emulator (whose codebase I was not familiar with), it took maybe like 2-3 hours, can't remember, but definitely not much more.
The problem is that for some reason we `dlopen()` VTE, and 0.38 lacks runtime version checking, so it's harder than it should. But yeah maybe we could play and assume it's 0.38 if an older symbol is missing and a newer present (although it's made even more annoying to do than it should because the [0.38 docs](https://developer.gnome.org/vte/0.38/) lacks any "new in 0.38" docs, so it has to be guessed).
It'd probably be doable, but VTe really doesn't help here.
> (I don't think parallel support for 2.90 and 2.91 makes any sense, just go for 2.91 and forget 2.90 for good).
No. Unless there's a compelling reason to drop 2.90, we should not drop it.
> A note about `vte_terminal_set_background_image_file()`: Indeed direct support for background image has been removed; however, see the Terminix project how a picture can be drawn behind a transparent/translucent VTE using some GTK+ magic.
Probably makes sense. But well, it's a retarded feature anyway, so why bother.
--
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/issues/336#issuecomment-240843725
FYI: Debian and Ubuntu have already dropped libvte 2.90 (tarball 0.36). They only ship the ancient gtk2 version (tarball 0.28), as well as 2.91 for gtk3 (tarball 0.38 or newer).
Neither the gtk2 version, nor 2.90 is maintained anymore by upstream. Bugfixes / security fixes / improvements only go to the newest tarballs (library version 2.91).
The first version with the new API was released almost 2 years ago. I have myself ported a vte-based terminal emulator (whose codebase I was not familiar with), it took maybe like 2-3 hours, can't remember, but definitely not much more.
So I guess it's high time port geany to the newest vte. (I don't think parallel support for 2.90 and 2.91 makes any sense, just go for 2.91 and forget 2.90 for good).
A note about `vte_terminal_set_background_image_file()`: Indeed direct support for background image has been removed; however, see the Terminix project how a picture can be drawn behind a transparent/translucent VTE using some GTK+ magic.
--
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/issues/336#issuecomment-240840936
No. Maybe the latest version could be usable, I'd have to check. For the moment just use 2.90.
--
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/issues/336#issuecomment-240829459
@b4n what is the advantage here of removing previous source and adding new source vs just not adding a new timeout source if one is pending?
--
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/commit/ec4a5ea4f92f337d97b3ab2abae88e4ebf95d…
I simply created a function read_current_scope which is similar to read_current_word, and gets the scope of the word the cursor is on:
ScopeA::ScopeB::Function
it will return ScopeA::ScopeB
Then I used the function in editor_show_calltip where find_calltips is called. To find_calltips I added an argument const gchar *scope to send the value over. Then, find_calltips calls the function tm_workspace_find which already had an option for scope. So I simply passed in the scope to that function, so now when typing in a scope, all functions will display properly.
<img src="http://i.imgur.com/IT5Qczd.png"></img>
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1176
-- Commit Summary --
* Added read_current_scope function which reads the current scope at the cursor, and added support for scoped function calltips in editor_show_calltip and find_callip
* Added read_current_scope function which reads the current scope at the cursor, and added support for scoped function calltips in editor_show_calltip and find_callip
-- File Changes --
M src/editor.c (72)
-- Patch Links --
https://github.com/geany/geany/pull/1176.patchhttps://github.com/geany/geany/pull/1176.diff
--
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/pull/1176