Lars Gullik Bjønnes
cf4293824f
* Change several freestanding and class methods with first letter
...
capitalized to have first letter lowercased.
* Adjust all affected files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13605 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 00:26:19 +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
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
Georg Baum
70b8cfdf59
* src/insets/insetbase.h
...
* src/insets/insettext.h
(asTextInset): constify
* src/rowpainter.C
(RowPainter::paintInset): remove unneeded casts
(paintPar): ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13420 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-18 17:39:54 +00:00
Jürgen Spitzmüller
c370abab81
expand redrawing of current row to endpos() AGAIN
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13418 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-18 17:04:28 +00:00
Martin Vermeer
3d0c878966
Changes to the within-inset row rendering caching code.
...
* insets/insetenv.h:
* insets/insetcollapsable.h: remove method
* insets/insettabular.h:
* insets/insetbase.h: rename, add methods
* insets/insettext.[Ch]: rename method; add Tall()
* paragraph_pimpl.C
(Paragraph::Pimpl::simpleTeXSpecialC): rename call
* mathed/math_hullinset.h: rename method
* rowpainter.C
(RowPainter::paintInset):
(paintPar): remove isTrueTextInset, move to insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13415 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-17 19:45:28 +00:00
Martin Vermeer
5ab40ff0f0
fix painting of change bar with only paragraph break changed
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13356 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-13 11:05:07 +00:00
Martin Vermeer
22cdac5d5d
Fix bug 2195: Slowness in rendering inside insets, especially on the Mac
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13328 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 16:10:35 +00:00
Jürgen Spitzmüller
3490f23a1d
Fix defaultFont problems (bug 2308)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13266 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-22 15:44:57 +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
Martin Vermeer
aac47f6579
Blueline-under-insets fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10805 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-03 17:21:51 +00:00
Jürgen Spitzmüller
177ca3eb70
expand redrawing of current row to endpos()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10742 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-16 15:17:17 +00:00
Martin Vermeer
aa8478b7e5
let's always repaint the row with the cursor in it
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10696 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-01 23:06:23 +00:00
Martin Vermeer
e7ef29fa2d
The speed patch: redraw only rows that have changed
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10692 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-30 19:02:52 +00:00
Georg Baum
035861d4dc
partial fix for bug 1973
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10664 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-17 15:03:41 +00:00
Jean-Marc Lasgouttes
6f8059d09f
fix centering of LABEL_CENTERED_TOP_ENVIRONMENT
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10642 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-02 13:20:26 +00:00
Martin Vermeer
ebcb289b7c
The speedup patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10528 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-07 12:00:41 +00:00
Martin Vermeer
5b33310202
Fix bug 2029 (RtL space width)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10459 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-19 11:18:20 +00:00
Jean-Marc Lasgouttes
cf182ead75
fix display of top labels
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10458 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-19 10:18:37 +00:00
Jean-Marc Lasgouttes
52a2eb2c52
John&JMarc's change tracking patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10424 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-07 10:37:05 +00:00
André Pönitz
1e65605e25
use the FontSpan trick in drawing as well
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10326 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 14:25:20 +00:00
André Pönitz
f5e68ec257
fix bug 1795
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10321 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 12:13:32 +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
Jean-Marc Lasgouttes
6b264151e1
reduce number of calls to LyXText::getFont
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10044 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-10 14:55:01 +00:00
Martin Vermeer
a683500118
Axe processEvents, fix cursor draw artifacts, put update flags into an enum,
...
allow single-paragraph update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9986 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-31 14:40:30 +00:00
Jürgen Spitzmüller
8c8e438e4c
fix drawing of appendix start
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9907 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-05 13:11:05 +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
Jean-Marc Lasgouttes
887137a87a
honor secnumdepth for section headers; avoid multiple labels for environments; update counters when switching class
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9831 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-19 09:04:25 +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
882a1f2e7e
Fix language underline bug from previous fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9801 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-10 20:15:47 +00:00
Martin Vermeer
d5d5562e02
Fix font inside inset (bugs 1766, 1809)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9799 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-10 14:07:33 +00:00
Jürgen Spitzmüller
f527d0a134
fix drawing of change tracker strikeout
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9736 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-22 10:57:10 +00:00
Angus Leeming
c303b62fb0
Ensure that "paragraphs().size() - 1" can be used meaningfully in a comparison.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9639 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-15 19:34:44 +00:00
Angus Leeming
e22c5f4d97
Asger's commentary, const-correct and bug-squashing little beauty.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9558 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-31 16:29:48 +00:00
Asger Ottar Alstrup
282bf655ed
- Add missing STL includes for correctness - gcc is too forgiving
...
- Add missing using statements
- Guard #warning statements
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9494 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-18 14:15:57 +00:00
Lars Gullik Bjønnes
6a55be9506
tostr -> convert and some bformat work
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9446 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 15:40:49 +00:00
Jürgen Spitzmüller
701b99ecd7
float2string #4 (Spacing)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9445 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 13:48:13 +00:00
Alfredo Braunstein
a2cd656e25
CoordBranch merge
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9325 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-30 01:59:49 +00:00
Alfredo Braunstein
ed064bdee6
par->pit renaming
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9300 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-24 21:53:46 +00:00
Jean-Marc Lasgouttes
e5c1dd967b
some profiler work, a few cleanups
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8942 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-15 16:52:44 +00:00
André Pönitz
93430a89da
change a few par_type args in LyXText::* to Paragrpah & to speed things
...
up
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8940 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-15 00:01:45 +00:00
Jean-Marc Lasgouttes
0fe5cc3913
one less use of ownerPar means faster code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8939 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 23:57:29 +00:00
André Pönitz
b4b6c8b078
make all cached positions screen-absolute
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8936 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 21:56:40 +00:00
Lars Gullik Bjønnes
d20f0af816
some nicer margins and some small cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8925 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 15:55:22 +00:00
André Pönitz
02ebc072b0
remove per-inset position cahce, use new external map instead.
...
this allows us to bomb early on uninitialized cache values.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8923 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 14:03:42 +00:00
André Pönitz
b119fd180d
remove unused mathed parts
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8915 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 22:24:42 +00:00
André Pönitz
9ccc43596c
redraw full paragraphs only
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8912 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 21:20:29 +00:00
Angus Leeming
c4762f9452
Whitespace, only whitespace...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8682 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-20 08:51:15 +00:00
Alfredo Braunstein
db2c1d5917
the 'fitCursor fix'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8624 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-07 20:20:15 +00:00
Angus Leeming
b11b6f78b1
Squash a bunch of compiler warnings.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8538 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-27 01:18:51 +00:00
André Pönitz
0d43ba149a
the stuff from the sneak preview:
...
For one, it still contains a few things that are already in CVS (the
'brown paperbag' changes).
Secondly, this changes the ParagraphList to a std::vector but does not
yet take full advantage of it except removing LyXText::parOffset() and
similar.
I had an extensive talk with my profiler and we are happy nevertheless.
This also moves almost all Cut&Paste specific stuff from text.C to
CutAndPaste.C. Much smaller interface now... Namespace CutAndPaste is
now lyx::cap::. Was inconsistent with the rest....
Make ParagraphList a proper class. We'll need this later for a
specialized erase/insert.
Remove some unneeded prototypes and function declarations
Use ParameterStruct directly instead of ShareContainer<ParameterStruct>
Inline a few accesses to CursorSlice members as suggested by the profiler.
Fix commandline conversion crash reported by Kayvan.
Replace PosIterator by DocumentIterator. The latter can also iterate
through math and nested text in math...
Remove math specific hack from Documentiterator
Derive InsetCollapsable from InsetText instead of using an InsetText
member. This give us the opportunity to get rid of the InsetOld::owner_
backpointer.
Cosmetics in CutAndPaste.C and cursor.C. Fix nasty crash (popping slices
off an empty selection anchor). Add a few asserts.
Remove all 'manual' update calls. We do now one per user interaction which
is completely sufficient.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8527 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-25 09:16:36 +00:00
Alfredo Braunstein
995a7a4c86
coord fix + shut up compiler warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8474 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-01 21:10:47 +00:00
Alfredo Braunstein
c1e5e3de20
some renaming
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8471 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-01 16:29:30 +00:00
Alfredo Braunstein
dd30647314
move prepareToPrint out of the rowbreaking loop, do not cache its results.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8468 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-01 12:23:17 +00:00
André Pönitz
8943967181
Wednesday's 'de-mathed-ification' + Row::fill removal
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8462 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-27 09:18:03 +00:00
André Pönitz
357a3741c0
* insettabular.[Ch]: remove remains of the 'update' mechanism,
...
simplify cursor moving function,
re-enable horizontal scrolling for large tables
* insetbase.C:
* insetbase.[Ch]: remove explicit 'DispatchResult' return type and
implicitly assume 'DispatchResult(true, true) with exception of
InsetBase::priv_dispatch which does the equivalent of
'retrun DispatchResult(false)'
* inset*.[Ch] (priv_dispatch): adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8435 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-16 11:58:51 +00:00
Alfredo Braunstein
61189bef79
selection inside insets y-coord fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8434 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-16 09:28:34 +00:00
André Pönitz
2a5bc90633
bug + spped fixes + small stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8421 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-11 14:45:44 +00:00
André Pönitz
38512e8412
fix two warnings
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8408 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-06 11:50:13 +00:00
André Pönitz
93adf5d595
re-enable bits of selection
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8407 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-06 11:12:49 +00:00
André Pönitz
9270b36fb4
disable a few messages
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8406 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-06 09:34:04 +00:00
André Pönitz
6af06846fd
remove cursor::drawSelection() plus some math reorganization (move the
...
'width' cache from MathAtom)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8383 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-02 17:32:56 +00:00
André Pönitz
a73da74db2
* cursor.[Ch]: remove direct access to anchor
...
* text.C: remove findText() hack
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8382 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-02 16:38:13 +00:00
André Pönitz
99aacdad5c
more IU
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8376 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-30 11:41:12 +00:00
André Pönitz
1eaa3eb913
more IU
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8371 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-26 10:13:15 +00:00
André Pönitz
ccc5d55764
Part of IU.
...
####################################################################
1.4.0cvs is now NOT fit for any serious use
####################################################################
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8363 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-20 14:25:24 +00:00
André Pönitz
6238e20d09
move selStart and selEnd from LyXText to BufferView
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8344 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-14 15:09:01 +00:00
André Pönitz
4eb75f09eb
move the Selection structure from LyXText to BufferView
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8342 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-14 14:16:11 +00:00
André Pönitz
25bafa2772
Anchor globalization
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8340 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-13 18:08:13 +00:00
André Pönitz
a97ed20502
merge CursorItem and MathPos
...
remove cached x and y values from Cursor
some tabular fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8251 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-15 11:36:19 +00:00
Alfredo Braunstein
7da68795a5
selection patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8243 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-12 15:19:35 +00:00
André Pönitz
4b2c271e23
* buffer.[Ch]:
...
* lyxtext.h: move ParagraphList member to LyXText
rename LyXText::ownerParagraphs to LyXText::paragraph
* CutAndPaste.C:
* bufferview_funcs.C:
* iterators.[Ch]:
* lyx_cb.C:
* paragraph.C:
* rowpainter.C:
* tabular.C:
* text.C:
* text2.C:
* text3.C: adjust
* lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
* undo.C: fix cursor positioning
* insetbase.h: whitespace
* inset.[Ch]: remove latexTextWidth
make setBackgroundColor virtual
* insettext.[Ch]: move ParagraphList member to LyXText
* insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
* insetcharstyle.C:
* insetenv.C:
* insetert.[Ch]:
* insetfloat.[Ch]:
* insetminipage.[Ch]:
* insettabular.C:
* insetwrap.[Ch]: adjust paragraphs and background color handling,
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8166 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 13:35:49 +00:00
André Pönitz
7de76711b1
move space above/below from Paragraph into a separate vspace inset.
...
Gui interaction mailer stuff by Angus...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8149 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 15:53:34 +00:00
André Pönitz
84b462dd37
ismall stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8144 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 08:55:12 +00:00
André Pönitz
ce686f1803
the 'lots of small stuff' patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8135 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-25 11:17:27 +00:00
André Pönitz
cbe6dd74b3
some bool variables to make if() simpler
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8126 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-24 16:36:59 +00:00
André Pönitz
cf6380307f
some rowpainter simlification
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8125 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-24 16:26:55 +00:00
Lars Gullik Bjønnes
6832f63f96
More debug mode work.
...
- some cursor movement
- selection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8122 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-22 15:51:12 +00:00
André Pönitz
6ff15cc813
Michael's open-close-patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8119 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-21 17:26:11 +00:00
André Pönitz
34b73170c6
more small stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8118 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-21 17:03:04 +00:00
André Pönitz
62e7385055
small stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8117 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-21 16:35:46 +00:00
André Pönitz
f897f21c40
more rowpainter simplification
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8116 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-21 16:02:29 +00:00
André Pönitz
7e4b605961
tiny simplification
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8115 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-21 15:52:11 +00:00
Alfredo Braunstein
43198fcbda
xy0_->xyo_ + two fixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8111 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-21 08:35:15 +00:00
Alfredo Braunstein
025cb611e3
mouse selection patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8100 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-17 20:28:11 +00:00
André Pönitz
3159d1a52e
no need for three calls to update() in a row...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8080 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-13 13:43:44 +00:00
Lars Gullik Bjønnes
c38370d1c3
the exception safety patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8020 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-03 17:47:28 +00:00
André Pönitz
4588bb075a
lots of small stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7995 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-28 11:18:40 +00:00
André Pönitz
4809009088
fix off-by-one error
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7987 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 15:39:59 +00:00
André Pönitz
69fae0531d
* lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
...
* factory.C: handle new InsetPagebreak, InsetLine
* ParagraphParameters.h: remove [line|pagebreak]_[above|below]
and move handling into new InsetPagebreak, InsetLine
* BufferView_pimpl.C:
* LyXAction.C:
* ParagraphParameters.C:
* ParameterStruct.h:
* lyxfunc.C:
* lyxtext.h:
* paragraph.C:
* paragraph.h:
* paragraph_funcs.C:
* paragraph_pimpl.C:
* rowpainter.C:
* text.C:
* text2.C:
* text3.C: adjust
etc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7985 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 12:41:26 +00:00
Alfredo Braunstein
5be51b4fb7
remove lastPos and use endpos instead
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7984 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 11:44:10 +00:00
André Pönitz
3e8ce5ac6c
refrain from computing width in setHeightOfRow as this happens already
...
in rowBreakPoint before.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7976 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-24 09:45:07 +00:00
André Pönitz
70f983b97f
set fill in fill(...) istead of returning it.
...
use isLastRow()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7974 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-24 07:59:04 +00:00
Alfredo Braunstein
a370d413af
take the bidi stuff out of lyxtext.h to its own file
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7966 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 13:28:49 +00:00
André Pönitz
fd48fefe0e
* lyxtext.h:
...
* text.C (isLastRow, isFirstRow): new functions
* paragraph.h: new width cache member
* rowpainter.C: replace RowList::iterator with Row & where possible
* lyxfunc.C: replace several view()->text with a single call
* toc.C: fix 'unused' warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7960 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 08:15:57 +00:00
André Pönitz
aec5a388c8
rename row.end into row.endpos
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7956 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 16:30:57 +00:00
André Pönitz
7f3eb7cf70
RowList::iterator -> Row &, ParagraphList::iterator -> Paragraph &
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7929 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 10:31:47 +00:00
André Pönitz
9ed14b41fa
make updateRowPositions() a bit faster.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7926 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-16 16:19:56 +00:00
Lars Gullik Bjønnes
44cd0fc9a1
The std::string mammoth path.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7862 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-06 15:43:21 +00:00
Angus Leeming
e7e92ec660
Remove IsInsetChar and IsWordChar from textutils.h.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7771 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 12:12:33 +00:00