Commit Graph

650 Commits

Author SHA1 Message Date
Michael Schmitt
1396ade8b1 fix LFUN enum values (some of them were broken by r13801)
adjust some commands according to the LyX naming conventions
(toggle-tooltip => tooltip-toggle, *-change(s) => change(s)-*) 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13811 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-08 18:09:19 +00:00
André Pönitz
da65e2b7fb rename LFUN enum values according to their command (as used in th minibuffer/bind files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13801 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-05 20:23:12 +00:00
Abdelrazak Younes
f6bcac7285 * src/buffer_funcs.[Ch]
- updateCounters renamed to updateLabels
 - void updateLabels(Buffer const & buf,
   ParIterator & it): new convenience function
 - void updateLabels(Buffer const & buf,
   ParIterator & from, ParIterator & to): new convenience function
 - setCounter renamed to setLabel
 - bool tryToUpdateCurrentLabel(Buffer const & buf,
   ParIterator & it): new method
 - needsUpdateCounters: deleted

* src/BufferView_pimpl.C
* src/CutAndPaste.C
* src/frontends/controllers/ControlDocument.C
* src/lyxfunc.C
* src/text.C
* src/text2.C
* src/text3.C
 - fixed the calls to updateLabels


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13689 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-16 14:19:25 +00:00
André Pönitz
1f5c5a06ee support/textutils.h:
support/filetools.h: rename IsDirWriteable IsFileReadable IsLyXFilename
IsSGMLFilename IsLineSeparatorChar IsLetterChar IsPrintable
IsPrintableNonspace IsDigit to lower case initial

lyxvc.C:
LaTeXFeatures.C:
lyx_cb.C:
insets/insetbibtex.C:
insets/insetexternal.C:
insets/insetgraphics.C:
insets/ExternalSupport.C:
insets/insetinclude.C:
BufferView_pimpl.C:
graphics/GraphicsCacheItem.C:
text2.C:
converter.C:
buffer.C:
lyxfunc.C:
frontends/gtk/ghelpers.C:
frontends/controllers/ControlGraphics.C:
frontends/controllers/ControlInclude.C:
frontends/controllers/ControlSpellchecker.C:
support/filetools.C:
support/filetools.h: adjust


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13595 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-08 09:09:57 +00:00
Abdelrazak Younes
4b0a5549b1 * buffer_funcs.[Ch]: new needsUpdateCounters function
* text.C:
 - LyXText::breakParagraph(): test if needsUpdateCounters() is enough before a full updateCounter
 - LyXText::backspacePos0(): ditto

* text2.C:
 - LyXText::deleteEmptyParagraphMechanism(): ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13593 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-07 22:16:09 +00:00
Lars Gullik Bjønnes
3b9338a3a8 Whitespace cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13565 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 23:56:29 +00:00
Lars Gullik Bjønnes
9d6cad3fe6 * output_latex.h:
* buffer.h:
        * CutAndPaste.h:
        * pariterator.h:
        * paragraph_funcs.h:
        * output_linuxdoc.h:
        * output_docbook.h:
        * insets/insettext.h: get forward declaration of ParagraphList

        * output_plaintext.C:
        * bufferlist.C:
        * undo.C:
        * lyxtext.h:
        * undo.h:
        * buffer_funcs.C:
        * insets/insetbibitem.C: get proper ParagraphList decls

        * output_linuxdoc.C (linuxdocParagraphs):
        * output_latex.C (TeXOnePar):
        * insets/insettext.C (appendParagraphs):
        * insets/insetcharstyle.C (docbook): use std::distance

        * CutAndPaste.C (pasteSelectionHelper, copySelectionHelper):
        * paragraph_funcs.C (breakParagraph,
        breakParagraphConservative, mergeParagraph):
        * text.C (acceptChange, rejectChange):
        * text2.C (deleteEmptyParagraphMechanism): use boost::next

        * output_docbook.C (several places): use boost::next and
        std::distance

        * ParagraphList_fwd.h: modify to provid a forward declaratoin
        of the new ParagraphList.

        * RandomAccessList.h: New container for Paragraphs from
        Abdelrazak Younes

        * ParagraphList.h: new file, setup user of RandomAccessList

        * paragraph.C: remove ParagraphList constructor from this file



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13467 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-23 20:11:06 +00:00
Jean-Marc Lasgouttes
08604e3519 bug 2298: cursorTop/Bottom/Home/End does not redraw after dEPM
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13395 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 14:24:53 +00:00
Georg Baum
5d3008ac51 fix bug 2273
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10814 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-06 17:57:49 +00:00
Martin Vermeer
6688a55908 Fix bug 2115 ("blueline bug")
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10808 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-05 13:20:16 +00:00
Jürgen Spitzmüller
0fa599cf52 fix crash when undoing DEPM in last paragraph (bug 2022).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10799 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-30 16:34:30 +00:00
Martin Vermeer
429c5d7160 Fix 2019: take inset's own font settings into account when defining font to
reduce to


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10784 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-28 12:39:22 +00:00
Martin Vermeer
2fc3845c4e Fix bug 2015: on screen fonts in nested environments can be wrong
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10767 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-23 10:25:41 +00:00
Jean-Marc Lasgouttes
86d8a57443 fix bug 2155: crash when undoing dEPM
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10707 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-04 14:24:40 +00:00
Jean-Marc Lasgouttes
d0cb16c256 fix bug 2146
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10645 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-06 14:54:23 +00:00
Georg Baum
dd6c706cef restore 1.3 behaviour when changing tabular columns to variable width
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10625 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-28 11:52:03 +00:00
Jean-Marc Lasgouttes
8679982264 fix crash with DEPM when the cursor goes in a deeper inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10573 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-25 09:14:11 +00:00
Jean-Marc Lasgouttes
20af9e8555 fix two crashes related to dEPM. Some crashes remain
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10551 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-13 14:48:27 +00:00
Angus Leeming
2eca6adcad Just whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10487 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-26 22:54:12 +00:00
Jean-Marc Lasgouttes
16c957358a incluse boost/current_function.hpp when needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10482 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-26 09:20:15 +00:00
Jean-Marc Lasgouttes
68a101a8ae more fixing of bug 2010
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10471 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-21 10:38:24 +00:00
Jean-Marc Lasgouttes
81efcd9cf6 fix compiler warnings (bug 1927)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10465 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-20 08:31:37 +00:00
Jean-Marc Lasgouttes
6572d0d661 fix bug 2010 (boundary effects at the end of text insets)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10445 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-15 13:53:38 +00:00
Georg Baum
c8acdbb7c5 fix bug 1998
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10410 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-05 06:50:42 +00:00
Jürgen Spitzmüller
a9ec2ab3df fix bug 1254 (handling of blanks in change tracking mode)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10380 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-01 12:37:25 +00:00
Jürgen Spitzmüller
7bc6a713a2 fix insertStringAsLines assert (bug 1939), John's version.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10373 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-29 10:00:43 +00:00
Angus Leeming
83ce5ac33e Consistent variable defintions don't need explicit conversion with picky compilers...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10335 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 20:34:55 +00:00
André Pönitz
af5acb6dc7 ~4% speedup by inlining a few one-line accessors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10320 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 11:00:15 +00:00
André Pönitz
6768d3a148 fix counters on depm
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10290 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 15:22:15 +00:00
Jürgen Vigna
4126b3f828 Add parameter boundary for getRow() function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10276 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 12:02:48 +00:00
Jürgen Vigna
a31c518b42 Fixed one of problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10268 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 09:52:52 +00:00
Jürgen Vigna
41021dce94 More fixes to cursor handling with boundary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10263 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 23:54:32 +00:00
Jean-Marc Lasgouttes
5be1c17c7c Check if we are on column 0 for special case
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10260 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 21:19:36 +00:00
Jean-Marc Lasgouttes
83bf606e60 handle special case Newline Inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10258 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 18:21:50 +00:00
Jean-Marc Lasgouttes
868ab452a5 fix cursor movement with boundary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10252 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 16:34:54 +00:00
Lars Gullik Bjønnes
ef8e527612 drop reLyX like it is hot, and setup to use tex2lyx instead (and remerged po files + no.po small update)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10244 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 15:18:14 +00:00
Jean-Marc Lasgouttes
f0492e4ba3 Consider rows without trailing blank
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10237 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 11:03:01 +00:00
André Pönitz
41ecabf519 make boundary property an iterator property instead of a CursorSlice property
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10214 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 15:49:40 +00:00
Lars Gullik Bjønnes
8355663e97 bug 1825 make sure that we do not return a pos that is not on the row
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10206 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 12:56:23 +00:00
André Pönitz
97a158fd8e small cosmetic fix and removing some debug output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10198 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 08:51:34 +00:00
André Pönitz
1a9992c796 partial fix for bug 622, cosmetic rest remains open
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10195 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 00:39:44 +00:00
Lars Gullik Bjønnes
9abff568e6 reduce some debug output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10178 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-14 08:20:10 +00:00
Jean-Marc Lasgouttes
61c245ca32 fix bug 1892 (cursor moves when inserting index or tabular)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9984 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-30 15:35:11 +00:00
Angus Leeming
fb70c52b05 Whitespace, only whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9877 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-26 11:12:20 +00:00
Martin Vermeer
f2ae756062 Fix the metric bug left after fixing the inset font bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9810 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-12 18:42:27 +00:00
Martin Vermeer
68237d3c48 Fixed and extended bug 1792 fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9711 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-11 14:20:58 +00:00
Martin Vermeer
ee1163d8e8 Fix bug 1792
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9704 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-08 10:02:03 +00:00
Alfredo Braunstein
aaca522459 get rid of a crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9702 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-07 15:27:51 +00:00
Jürgen Spitzmüller
194f2be6de (Johnathan Burchill:) fix for stuck cursor when traversing two consecutive spaces in change tracking mode [bug 1255]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9693 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-05 10:59:29 +00:00
Jean-Marc Lasgouttes
1e7112db43 fix counters updating mechanism
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9682 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-25 11:55:36 +00:00