]> git.lyx.org Git - features.git/commit
Introduce Inset::validate() for Inset validation purpose upon interactive creation...
authorAbdelrazak Younes <younes@lyx.org>
Sun, 2 Mar 2008 18:14:12 +0000 (18:14 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sun, 2 Mar 2008 18:14:12 +0000 (18:14 +0000)
commit00d6906d04a9f5738adbf21e1a1ae6d747b7ddb7
tree4ac3abc8d07d6a90c1553a60cc916d1c32e08cf4
parent2a65cd5fcab76b42cb392c8a8d5bca2bae5d3150
Introduce Inset::validate() for Inset validation purpose upon interactive creation. In this commit this is used to validate a newly inserted label. As an added bonus, broken cross-references will be automatically fixed if the corresponding label is created.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23399 a592a061-630c-0410-9148-cb99ea01b6c8
src/Cursor.cpp
src/insets/Inset.h
src/insets/InsetLabel.cpp
src/insets/InsetLabel.h