Re: [gedit-list] tabulation plugin
- From: "Kristoffer Lundén" <kristoffer lunden gmail com>
- To: "Nando Vieira" <fnando vieira gmail com>
- Cc: gedit-list gnome org
- Subject: Re: [gedit-list] tabulation plugin
- Date: Thu, 29 Mar 2007 10:01:50 +0200
Hello,
On 3/29/07, Nando Vieira <fnando vieira gmail com> wrote:
In fact, 2 plugins was conflicting with mine: autoTab and modelines.
Auto Tab can be made to respect your plugin if you make it known that
your plugin has dibs on a certain document. It already checks for
modelines; that plugin stores any settings with
view.set_data("ModelineOptions") so Auto Tab checks if there's any tab
data there and skips the document if that is the case.
If your plugin has a similar way to detect that it wants to control
that document, it could be added, as it's obvious your plugin should
have precedence for anyone activating both plugins.
Actually, as I'm typing this, I realize that the best way probably
would be to add a check for something like
view.get_data('AutoTabSkip') and if that exists and is True, it should
skip that document. That way other plugins can add a skip easily on
their own, while other open documents continue to be handled.
Now, I don't know if you actually use Auto Tab or just tried it and
forgot it, but does something like that sound workable? :)
-- Kristoffer
Great, next step: GUI to define tabulation settings. ;)
Thanks for the help!
--
Nando Vieira
bloggin' @ http://simplesideias.com.br
money @ http://spesa.com.br
_______________________________________________
gedit-list mailing list
gedit-list gnome org
http://mail.gnome.org/mailman/listinfo/gedit-list
--
Kristoffer Lundén
✉ kristoffer lunden gmail com
✉ kristoffer lunden gamemaker nu
http://www.gamemaker.nu/
☎ 0704 48 98 77
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]