GtkSourceView: Get current word
Johannes Schmid <[email protected]>
| Newsgroups | gmane.comp.gnome.devtools |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! To implement gtksourceview in anjuta I need a need a function which gives the current word of the curser position (e.g the text between two whitespaces). This would be trivial if we would use ASCII-Characters but I am not sure how top implement this with UTF-8 in GtkText/SourceView. Is there an elegant way to do this? Thanks and regards, Johannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDwpFa7Dsf+G5b/WsRAtTcAJ9rQjJ1MW5VM4wtFVY6kFmDzkH1cQCfTWqD ngkHOmWO3ynr8sfhiMEF3LQ= =zVgK -----END PGP SIGNATURE-----