Commit graph

28 commits

Author SHA1 Message Date
Nicola Pero
8564eb7342 Made a check for line range stricter ... apparently because of a bug
elsewhere, the stricter check is needed to prevent a crash


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13202 72102866-910b-0410-8b05-ffd578937521
2002-03-22 11:46:08 +00:00
Adam Fedor
368fa049c1 Check for nil object before assigning struct
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13059 72102866-910b-0410-8b05-ffd578937521
2002-03-09 17:24:53 +00:00
Fred Kiefer
d763179059 [_relocLayoutArray:offset:floatTrift:Change a NSLog() call to NSDebugLog().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12856 72102866-910b-0410-8b05-ffd578937521
2002-02-27 23:35:05 +00:00
Richard Frith-Macdonald
ae8ea4d667 Glyph handling improvments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12570 72102866-910b-0410-8b05-ffd578937521
2002-02-20 08:52:39 +00:00
Nicola Pero
ae95ed3ec9 Fixed method returning a text container for when there is no text
container set ... typically happening during text system setup


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12480 72102866-910b-0410-8b05-ffd578937521
2002-02-11 02:00:35 +00:00
Nicola Pero
638a861702 Code moved and cleaned a bit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12425 72102866-910b-0410-8b05-ffd578937521
2002-02-06 19:21:29 +00:00
Nicola Pero
42b0b2ef67 Fixed bug when typing enter at the end of text; fixed drawing insertion
point when there is no text


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12414 72102866-910b-0410-8b05-ffd578937521
2002-02-06 01:39:11 +00:00
Nicola Pero
5198e15983 Indentation changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12413 72102866-910b-0410-8b05-ffd578937521
2002-02-06 01:06:03 +00:00
Nicola Pero
0b806e1512 Indentation tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11768 72102866-910b-0410-8b05-ffd578937521
2001-12-15 10:30:53 +00:00
Nicola Pero
a8e28ba039 Minor indentation tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11313 72102866-910b-0410-8b05-ffd578937521
2001-11-05 11:47:29 +00:00
Nicola Pero
420c1a2dfb Little indentation tidyupy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11312 72102866-910b-0410-8b05-ffd578937521
2001-11-05 11:46:24 +00:00
Fred Kiefer
632ec4278e [GSSimpleLayoutManager boundingRectForGlyphRange:inTextContainer:]:
Use lineFragmentRect instead of usedRect, so that the full line
gets cleared. This still is not correct for all cases.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10955 72102866-910b-0410-8b05-ffd578937521
2001-09-23 22:09:48 +00:00
Nicola Pero
63d0ee2c7c Little improvement of the description of the _GNULineLayoutInfo objects -
changing mainly using for debugging


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10818 72102866-910b-0410-8b05-ffd578937521
2001-08-30 20:20:49 +00:00
Nicola Pero
64720d2a5e Indentation tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10817 72102866-910b-0410-8b05-ffd578937521
2001-08-30 20:14:50 +00:00
Richard Frith-Macdonald
4adb0bb3b0 Patch from George to fix bounding rect stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10525 72102866-910b-0410-8b05-ffd578937521
2001-07-20 05:33:07 +00:00
Adam Fedor
a56278096e Merge from 0.7.0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10329 72102866-910b-0410-8b05-ffd578937521
2001-07-09 02:49:03 +00:00
Nicola Pero
2ef65f8a58 Indentation tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10027 72102866-910b-0410-8b05-ffd578937521
2001-05-28 22:20:59 +00:00
Nicola Pero
9e3cb35e61 Added method to move cursor up or down; fixed bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8588 72102866-910b-0410-8b05-ffd578937521
2001-01-14 11:28:26 +00:00
Nicola Pero
0fe5dd2861 Added invalidation of text position during editing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8482 72102866-910b-0410-8b05-ffd578937521
2001-01-07 00:53:53 +00:00
Richard Frith-MacDonald
afc3dfd686 More selection fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8451 72102866-910b-0410-8b05-ffd578937521
2000-12-27 07:39:25 +00:00
Fred Kiefer
f5a8d938aa Renamed the ivars of _GNULineLayoutInfo to correspond to those of
GSLineLayoutInfo. Call a few more abstract methods. Added
AutoreleasePool in [rebuildForRange:delta:inTextContainer:] to free
up memory.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8081 72102866-910b-0410-8b05-ffd578937521
2000-11-12 13:54:54 +00:00
Fred Kiefer
d8c43999c1 Get the fragmentRect used for layout from the text container
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8061 72102866-910b-0410-8b05-ffd578937521
2000-11-06 22:11:26 +00:00
Fred Kiefer
eaeca6efb0 Call size to fit on view after layout changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8033 72102866-910b-0410-8b05-ffd578937521
2000-11-05 16:21:47 +00:00
Fred Kiefer
fd834fe526 Removed some 300 lines
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7995 72102866-910b-0410-8b05-ffd578937521
2000-11-03 00:20:06 +00:00
Fred Kiefer
b682bebc80 _GNULineLayoutInfo has new ivar usedRect. Simplified the code a bit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7894 72102866-910b-0410-8b05-ffd578937521
2000-10-23 23:24:22 +00:00
Nicola Pero
50f657f4c9 Prefixed ivar with underscore to keep it to compile
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7804 72102866-910b-0410-8b05-ffd578937521
2000-10-13 10:03:36 +00:00
Fred Kiefer
96d2900f7d Switched to use the text container for size information.
Implemented [textContainerChangedGeometry].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7677 72102866-910b-0410-8b05-ffd578937521
2000-09-30 23:13:41 +00:00
Fred Kiefer
40aa76c126 New file extracted from NSText.m. This class is now a subclass of
NSLayoutManager and uses a similar interface.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7541 72102866-910b-0410-8b05-ffd578937521
2000-09-18 23:31:39 +00:00