lyx_mirror/src/insets
Abdelrazak Younes c66d2f1ee5 Optimize drawing.
* BufferView:
  - update(): returns a pair of bools in order to inform for singlePar cases.
  - workAreaDispatch(): ditto and simplify the logic by using cursor update flags.

* text.C
  - breakParagraph(): change the cursor update flag as needed.
  - insertChar(): ditto.
  - erase(): ditto
  - redoParagraph(): now returns true if there is a height change.

* text3.C: dispatch():
  - initialize the cursor flag at the beginning
  - LFUN_MOUSE_PRESS: no need to update.
  - LFUN_MOUSE_RELEASE: ditto.
  - add some FIXMEs and comments.

* LyXFunc::dispatch(): simplify the BufferView update.

* insets/insetcollapsable.C: clarify and simplify the logic in doDispatch().

* WorkArea::dispatch(): redraw only if needed.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15958 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-17 17:42:52 +00:00
..
ChangeLog merge booktabs branch 2006-07-03 19:13:56 +00:00
ExternalSupport.C Add a cache for converted image files. This needs to be enabled in the 2006-11-13 10:27:57 +00:00
ExternalSupport.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
ExternalTemplate.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
ExternalTemplate.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
ExternalTransforms.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
ExternalTransforms.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
inset.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
inset.h use more unicode in math 2006-10-22 10:15:23 +00:00
insetbase.C New nomenclature inset from Ugras 2006-11-04 17:55:36 +00:00
insetbase.h Extend the navigate menu to child docs 2006-11-13 16:53:49 +00:00
insetbibitem.C some compile fixes, more to be expected 2006-10-22 11:00:04 +00:00
insetbibitem.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetbibtex.C add clarifying comment 2006-11-14 20:33:13 +00:00
insetbibtex.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetbox.C unicode: ditch another utf8 roundtrip + some obsolete FIXMEs 2006-11-11 21:09:51 +00:00
insetbox.h Move BufferView cached pointer out of LyXText: 2006-10-30 12:45:33 +00:00
insetbranch.C Fix problem with non-ascii branch names by converting more stuff to 2006-11-03 15:16:45 +00:00
insetbranch.h Fix problem with non-ascii branch names by converting more stuff to 2006-11-03 15:16:45 +00:00
insetcaption.C Unicode: remove more utf8 roundtrips and faulty conversions to docstring 2006-11-11 20:55:40 +00:00
insetcaption.h Unicode: remove more utf8 roundtrips and faulty conversions to docstring 2006-11-11 20:55:40 +00:00
insetcharstyle.C Unicode: remove more utf8 roundtrips and faulty conversions to docstring 2006-11-11 20:55:40 +00:00
insetcharstyle.h Move BufferView cached pointer out of LyXText: 2006-10-30 12:45:33 +00:00
insetcite.C unicode: ditch another utf8 roundtrip + some obsolete FIXMEs 2006-11-11 21:09:51 +00:00
insetcite.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetcollapsable.C Optimize drawing. 2006-11-17 17:42:52 +00:00
insetcollapsable.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetcommand.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetcommand.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetcommandparams.C New nomenclature inset from Ugras 2006-11-04 17:55:36 +00:00
insetcommandparams.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetenv.C use more unicode in math 2006-10-22 10:15:23 +00:00
insetenv.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetert.C New nomenclature inset from Ugras 2006-11-04 17:55:36 +00:00
insetert.h Move BufferView cached pointer out of LyXText: 2006-10-30 12:45:33 +00:00
insetexternal.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetexternal.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetfloat.C Extend the navigate menu to child docs 2006-11-13 16:53:49 +00:00
insetfloat.h Extend the navigate menu to child docs 2006-11-13 16:53:49 +00:00
insetfloatlist.C * Buffer 2006-11-11 00:35:14 +00:00
insetfloatlist.h Revert faulty floatlist fix (revision 15376) and fix reading of floatlists 2006-10-22 18:24:41 +00:00
insetfoot.C use more unicode in math 2006-10-22 10:15:23 +00:00
insetfoot.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetfootlike.C use more unicode in math 2006-10-22 10:15:23 +00:00
insetfootlike.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetgraphics.C Add a cache for converted image files. This needs to be enabled in the 2006-11-13 10:27:57 +00:00
insetgraphics.h More unicode fixes for docbook. 2006-10-21 19:40:29 +00:00
insetgraphicsParams.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetgraphicsParams.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insethfill.C Preparation for the nomencl inset: Add {} in InsetCommand rather than 2006-11-04 14:55:15 +00:00
insethfill.h Preparation for the nomencl inset: Add {} in InsetCommand rather than 2006-11-04 14:55:15 +00:00
insetinclude.C Extend the navigate menu to child docs 2006-11-13 16:53:49 +00:00
insetinclude.h Extend the navigate menu to child docs 2006-11-13 16:53:49 +00:00
insetindex.C Fix sgml::escapeChar and sgml::escapeString to return docstring. 2006-10-21 11:38:43 +00:00
insetindex.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetlabel.C put UNICODE FIXMEs where they belong 2006-11-02 10:16:21 +00:00
insetlabel.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetlatexaccent.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetlatexaccent.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetline.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetline.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetmarginal.C use more unicode in math 2006-10-22 10:15:23 +00:00
insetmarginal.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetnewline.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetnewline.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetnomencl.C fix compiler warnings 2006-11-10 21:13:17 +00:00
insetnomencl.h fix docbook glossary export, from Ugras and me 2006-11-10 15:45:42 +00:00
insetnote.C use more unicode in math 2006-10-22 10:15:23 +00:00
insetnote.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetoptarg.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetoptarg.h Move BufferView cached pointer out of LyXText: 2006-10-30 12:45:33 +00:00
insetpagebreak.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetpagebreak.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetquotes.C use more unicode in math 2006-10-22 10:15:23 +00:00
insetquotes.h some more unicode work. even more should be possible 2006-10-21 19:27:02 +00:00
insetref.C some compile fixes, more to be expected 2006-10-22 11:00:04 +00:00
insetref.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetspace.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetspace.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetspecialchar.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetspecialchar.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insettabular.C Move BufferView cached pointer out of LyXText: 2006-10-30 12:45:33 +00:00
insettabular.h change tracking: 2006-10-24 21:38:47 +00:00
insettext.C * InsetText::Wide() -> wide() 2006-11-07 15:24:34 +00:00
insettext.h * InsetText::Wide() -> wide() 2006-11-07 15:24:34 +00:00
insettheorem.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insettheorem.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insettoc.C * Buffer 2006-11-11 00:35:14 +00:00
insettoc.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
inseturl.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
inseturl.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetvspace.C unicode: ditch another utf8 roundtrip 2006-11-11 20:59:04 +00:00
insetvspace.h Unicode: remove more utf8 roundtrips and faulty conversions to docstring 2006-11-11 20:55:40 +00:00
insetwrap.C Extend the navigate menu to child docs 2006-11-13 16:53:49 +00:00
insetwrap.h Extend the navigate menu to child docs 2006-11-13 16:53:49 +00:00
mailinset.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
mailinset.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
Makefile.am New nomenclature inset from Ugras 2006-11-04 17:55:36 +00:00
pch.h Use the preferred calling for Boost.Signal 2004-09-26 14:19:47 +00:00
render_base.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
render_button.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
render_button.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
render_graphic.C Unicode: remove more utf8 roundtrips and faulty conversions to docstring 2006-11-11 20:55:40 +00:00
render_graphic.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
render_preview.C Unicode: remove more utf8 roundtrips and faulty conversions to docstring 2006-11-11 20:55:40 +00:00
render_preview.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00