After an evaluation, the migration from Bugzilla to GitLab is ongoing. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore. Some older issues are still tracked here (until migrated to Gitlab).
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 771582 - GspellTextBuffer: add API to set a no-spell-check GtkTextTag
GspellTextBuffer: add API to set a no-spell-check GtkTextTag
Status: NEW
Product: gspell
Classification: Other
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: gspell maintainers
gspell maintainers
:
: 782278 (view as bug list)
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2016-09-17 09:39 UTC by Sébastien Wilmet
Modified: 2017-05-24 14:00 UTC (History)
1 user (show)

See Also:
GNOME target: ---
GNOME version: ---


Attachments

Description Sébastien Wilmet 2016-09-17 09:39:17 UTC
Currently gspell supports the no-spell-check GtkTextTag of GtkSourceView, by looking at a tag named "gtksourceview:context-classes:no-spell-check".

But for applications that don't use GtkSourceView, it can be useful to provide another tag. Currently, it is possible to do that by creating a tag with the same name as the GtkSourceView tag, but it sucks API wise. It would be better to have an explicit API.

GspellTextBuffer could have a no-spell-check-tag property, with the usual getter/setter functions.
Comment 1 Sébastien Wilmet 2017-05-24 14:00:15 UTC
*** Bug 782278 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.