From b0d97e14329beb9060785e769278ae1cb7967356 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Thu, 10 Nov 2005 10:19:05 +0000 Subject: [PATCH] document the EDITABLE enum git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10599 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/ChangeLog | 4 ++++ src/insets/insetbase.h | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index 5150c6634f..117d1d6069 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,7 @@ +2005-11-10 Jürgen Spitzmüller + + * insetbase.h: document the EDITABLE enum. + 2005-11-07 Jürgen Spitzmüller * insetert.C (setButtonLabel): use isOpen() to test whether the ert diff --git a/src/insets/insetbase.h b/src/insets/insetbase.h index 56ba494099..07d37dd2d8 100644 --- a/src/insets/insetbase.h +++ b/src/insets/insetbase.h @@ -192,7 +192,13 @@ public: virtual int docbook(Buffer const &, std::ostream & os, OutputParams const &) const; - /// + /** This enum indicates by which means the inset can be modified: + - NOT_EDITABLE: the inset's content can not be modified at all + (e.g. printindex, insetspecialchar) + - IS_EDITABLE: content can be edited via dialog (e.g. bibtex, index, url) + - HIGHLY_EDITABLE: content can be edited on screen (normally means that + insettext is contained, e.g. collapsables, tabular) */ + // FIXME: This has not yet been fully implemented to math insets enum EDITABLE { /// NOT_EDITABLE = 0, -- 2.39.2