Commit graph

2460 commits

Author SHA1 Message Date
Alexander Malmberg
bdc3373174 Clean up layout invalidation. Set the prev pointer correctly when splitting a run during glyph invalidation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15990 72102866-910b-0410-8b05-ffd578937521
2003-02-17 20:30:26 +00:00
Alexander Malmberg
1ba6d8c940 Add some framework support for caching the last accessed run.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15980 72102866-910b-0410-8b05-ffd578937521
2003-02-17 01:19:34 +00:00
Alexander Malmberg
d6239b2d59 Optimize some important cases by using a binary search for line frags instead of a linear search. Cleanups and comments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15979 72102866-910b-0410-8b05-ffd578937521
2003-02-17 01:13:27 +00:00
Alexander Malmberg
3f51658781 (-glyphIndexForPoint:inTextContainer:fractionOfDistanceThroughGlyph:): Handle the case where the point is on a line, but not inside a line frag rect, better. Commenting and cleanups.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15978 72102866-910b-0410-8b05-ffd578937521
2003-02-16 21:40:47 +00:00
Alexander Malmberg
7e1801395c Store the line frags array as an ivar instead of allocating and freeing it everytime -layoutLineNewParagraph: is called.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15977 72102866-910b-0410-8b05-ffd578937521
2003-02-16 16:54:45 +00:00
Alexander Malmberg
27e5baeab3 Bring back the old implementation of -rulerMarkersForTextView:paragraphStyle:ruler:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15976 72102866-910b-0410-8b05-ffd578937521
2003-02-16 14:54:14 +00:00
Nicola Pero
913e8e34f4 Fixed offset used in delegate calls
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15974 72102866-910b-0410-8b05-ffd578937521
2003-02-16 14:04:10 +00:00
Richard Frith-Macdonald
4221f51f1a Menu level fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15971 72102866-910b-0410-8b05-ffd578937521
2003-02-16 06:04:03 +00:00
Nicola Pero
2f0f4f1d0d Fixed delegate constraining split position
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15969 72102866-910b-0410-8b05-ffd578937521
2003-02-16 03:19:11 +00:00
Alexander Malmberg
4dc81ab769 Implement extra line fragment handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15968 72102866-910b-0410-8b05-ffd578937521
2003-02-16 03:18:35 +00:00
Alexander Malmberg
6027271a4f Change the way the text view is told about layout invalidation. Change NSTextView to update its state as late as possible before displaying, and make sure it's updated when it's resized.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15967 72102866-910b-0410-8b05-ffd578937521
2003-02-15 17:30:52 +00:00
Alexander Malmberg
0b0e77ad82 ([NSMutableParagraphStyle -copyWithZone:]): Call GSDebugAllocation* when swizzling the class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15966 72102866-910b-0410-8b05-ffd578937521
2003-02-15 17:15:50 +00:00
Alexander Malmberg
d59dd69fca (-_launchSpellCheckerForLanguage:): Don't printf-expand the error message twice.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15965 72102866-910b-0410-8b05-ffd578937521
2003-02-15 17:07:44 +00:00
Alexander Malmberg
c56d68453d When moving vertically, return the index of the character nearest the target horizontally.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15958 72102866-910b-0410-8b05-ffd578937521
2003-02-14 17:00:04 +00:00
Alexander Malmberg
6d1c78032a Fix an edge case in tab handling. Also, if tabs occure and the paragraph style has no more tab stops, act as if there were tabs every 100 points.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15957 72102866-910b-0410-8b05-ffd578937521
2003-02-14 16:59:38 +00:00
Alexander Malmberg
85ff161e72 Keep track of the original index of a sequence of moves in one dimension. Pass it to the layout manager when moving the insertion point to prevent drifting.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15956 72102866-910b-0410-8b05-ffd578937521
2003-02-14 16:58:59 +00:00
Alexander Malmberg
77950b1e66 Implement basic handling of tabs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15950 72102866-910b-0410-8b05-ffd578937521
2003-02-12 23:53:29 +00:00
Fred Kiefer
a273e6156a Moved over from X11 backend.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15945 72102866-910b-0410-8b05-ffd578937521
2003-02-12 00:09:49 +00:00
Fred Kiefer
d22c80f5eb Added new file GSSlideView.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15943 72102866-910b-0410-8b05-ffd578937521
2003-02-12 00:05:27 +00:00
Fred Kiefer
534869106f Use GSSlideView to implement image sliding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15942 72102866-910b-0410-8b05-ffd578937521
2003-02-12 00:05:09 +00:00
Alexander Malmberg
09c02037d7 (-_createColumn:): Set the border of the created scroll view explicitly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15940 72102866-910b-0410-8b05-ffd578937521
2003-02-11 16:57:12 +00:00
Alexander Malmberg
abd4f0ca27 (-setBorderType:): Call -tile to make the change visible.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15939 72102866-910b-0410-8b05-ffd578937521
2003-02-11 16:56:54 +00:00
Alexander Malmberg
05d3343c45 (-setSelectedRange:affinity:stillSelecting:): Clamp the selected range to the text storage's length.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15937 72102866-910b-0410-8b05-ffd578937521
2003-02-11 15:40:21 +00:00
Alexander Malmberg
413dec23ee (-processEditing): Make sure we always give a valid range and delta to the layout managers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15936 72102866-910b-0410-8b05-ffd578937521
2003-02-11 15:39:49 +00:00
Alexander Malmberg
ea14bf8170 (-fixAttachmentAttributesInRange:): Update end index when a character is deleted.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15935 72102866-910b-0410-8b05-ffd578937521
2003-02-11 15:39:20 +00:00
Richard Frith-Macdonald
e8ca345d45 Browser setPath: fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15929 72102866-910b-0410-8b05-ffd578937521
2003-02-11 06:43:05 +00:00
Alexander Malmberg
993c4431f4 Remove debugging code left in by mistake.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15926 72102866-910b-0410-8b05-ffd578937521
2003-02-10 15:06:57 +00:00
Alexander Malmberg
3b7c4e2a12 Minor changes and cleanups.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15925 72102866-910b-0410-8b05-ffd578937521
2003-02-10 14:29:31 +00:00
Alexander Malmberg
87a4e8d28d Many minor bug and behavior fixes to get the text system to work with several text containers attached to one layout manager.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15924 72102866-910b-0410-8b05-ffd578937521
2003-02-10 14:14:34 +00:00
Alexander Malmberg
f9fea1156d Cleanups of old debugging code, whitespace, and error handling. Fix handling of non-nominally spaced glyphs in some cases.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15918 72102866-910b-0410-8b05-ffd578937521
2003-02-09 20:13:16 +00:00
Alexander Malmberg
39b3c70b7d (-breakLineByWordWrappingBefore:): Return correct index when breaking at a control glyph.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15917 72102866-910b-0410-8b05-ffd578937521
2003-02-09 17:37:04 +00:00
Alexander Malmberg
5d2f6b4f2f Add -_didInvalidateLayout method that is called whenever any layout information has been invalidated. Use it in NSLayoutManager to resize text views.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15915 72102866-910b-0410-8b05-ffd578937521
2003-02-09 17:05:18 +00:00
Alexander Malmberg
7d1592daa3 Fix some broken movement actions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15914 72102866-910b-0410-8b05-ffd578937521
2003-02-09 14:26:10 +00:00
Alexander Malmberg
8c9dff945f Make the main typesetting method reentrant.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15913 72102866-910b-0410-8b05-ffd578937521
2003-02-09 13:53:35 +00:00
Fred Kiefer
5b3f1e1bbf [_loadAvailableColorLists] check if a directory exists before
looking for a colour list in it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15911 72102866-910b-0410-8b05-ffd578937521
2003-02-09 00:36:53 +00:00
Alexander Malmberg
7925725bb9 Correct some attribute changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15908 72102866-910b-0410-8b05-ffd578937521
2003-02-08 21:58:36 +00:00
Alexander Malmberg
e06aff244d Improve calculation of line height and baseline.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15907 72102866-910b-0410-8b05-ffd578937521
2003-02-08 21:56:33 +00:00
Alexander Malmberg
4648c930ce Implement handling of pop-up menus attached to NSView:s.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15906 72102866-910b-0410-8b05-ffd578937521
2003-02-08 21:39:31 +00:00
Alexander Malmberg
39744f3b2f Rewrite insertion point movement actions properly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15904 72102866-910b-0410-8b05-ffd578937521
2003-02-08 16:55:51 +00:00
Alexander Malmberg
5ca050e9ca Fix memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15901 72102866-910b-0410-8b05-ffd578937521
2003-02-07 16:50:05 +00:00
Richard Frith-Macdonald
e87e07ecbb Portability fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15892 72102866-910b-0410-8b05-ffd578937521
2003-02-05 15:44:07 +00:00
Richard Frith-Macdonald
ceff15a22e Regenerate dll defs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15888 72102866-910b-0410-8b05-ffd578937521
2003-02-05 14:58:24 +00:00
Nicola Pero
5b0ab5a678 Do not display the key equivalent if owned by a popup, and drawing the
popup small image on the right


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15883 72102866-910b-0410-8b05-ffd578937521
2003-02-05 04:06:16 +00:00
Nicola Pero
5949e720dc Fixed caling delegate method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15881 72102866-910b-0410-8b05-ffd578937521
2003-02-05 03:47:35 +00:00
Nicola Pero
1ea5e16281 Tidied up indentation of a few lines; added small comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15880 72102866-910b-0410-8b05-ffd578937521
2003-02-05 03:44:39 +00:00
Alexander Malmberg
20ab4fa2df Add -insertionPointRectForCharacterIndex:inTextContainer: method to NSLayoutManager and use it in NSTextView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15863 72102866-910b-0410-8b05-ffd578937521
2003-02-03 01:52:27 +00:00
Fred Kiefer
d28626b423 Only accept first mouse when editable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15857 72102866-910b-0410-8b05-ffd578937521
2003-02-02 16:56:38 +00:00
Alexander Malmberg
94ecd621eb Clarify comments about user attribute changing now that I've figured out a way for it to work. Rewrite the actions to match.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15852 72102866-910b-0410-8b05-ffd578937521
2003-02-02 01:37:27 +00:00
Fred Kiefer
c768cb1bb9 Rewrote all the toolbar methods. Implemented [zoom:]. Extracted
new method [_terminateBackendWindow] from [dealloc] and use it to
implement one shot windows in the orderOut case of
[orderWindow:relativeTo:]. Removed frame restriction from
[setFrameFromString:]  as this gets done in
[setFrame:display:]. Use [NSScreen visibleFrame] here and in
[stringWithSavedFrame]. Implemented [cascadeTopLeftFromPoint:].
Removed unused and empty methods [performHide:] and [performUnhide:].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15848 72102866-910b-0410-8b05-ffd578937521
2003-02-02 00:58:32 +00:00
Alexander Malmberg
6f524e43b8 (-shouldChangeTextInRange:replacementString:, -didChangeText): Allow changes even if we're not the first responder, but end the editing session right away.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15844 72102866-910b-0410-8b05-ffd578937521
2003-02-01 14:14:53 +00:00
Alexander Malmberg
2169264f00 (-layoutLineNewParagraph:): Fix sign problem with descender.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15843 72102866-910b-0410-8b05-ffd578937521
2003-02-01 12:54:09 +00:00
Nicola Pero
ba494c7cd9 Lock focus / unlock focus optimizations and fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15839 72102866-910b-0410-8b05-ffd578937521
2003-02-01 05:10:00 +00:00
Alexander Malmberg
959e21868b (-replaceLayoutManager:): Remove the containers from the correct layout manager.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15838 72102866-910b-0410-8b05-ffd578937521
2003-02-01 02:32:35 +00:00
Alexander Malmberg
64671d7b86 (-removeTextContainerAtIndex:): Set textcontainers to NULL after freeing it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15837 72102866-910b-0410-8b05-ffd578937521
2003-02-01 02:32:03 +00:00
Alexander Malmberg
f26c829614 Add handling of NSAttachmentCharacter.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15830 72102866-910b-0410-8b05-ffd578937521
2003-01-31 22:25:12 +00:00
Fred Kiefer
8d06767b77 Empty implementation for this.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15829 72102866-910b-0410-8b05-ffd578937521
2003-01-31 22:24:32 +00:00
Alexander Malmberg
4087e5c7f7 Remove debugging printf.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15826 72102866-910b-0410-8b05-ffd578937521
2003-01-31 21:11:13 +00:00
Alexander Malmberg
3ea5844deb Implement text attachment handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15825 72102866-910b-0410-8b05-ffd578937521
2003-01-31 21:08:24 +00:00
Nicola Pero
255d80c476 Use -Wno-protocol when compiling NSMenuItem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15781 72102866-910b-0410-8b05-ffd578937521
2003-01-30 15:35:36 +00:00
Nicola Pero
4c583d47e6 Added missing cast
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15776 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:29:37 +00:00
Nicola Pero
710652a86c Fixed compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15775 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:29:00 +00:00
Nicola Pero
33a0a5ea29 Fixed compiler warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15774 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:28:39 +00:00
Nicola Pero
6bf8718026 Use setHighlighted: on table header cells instead of setting their background
color directly


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15773 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:27:26 +00:00
Nicola Pero
4571641386 Implemented setHighlighted: method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15772 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:26:35 +00:00
Nicola Pero
3446373469 Moved private interface into public header ... as a quick hack to fix
compiler warnings


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15771 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:24:42 +00:00
Nicola Pero
96a872ad09 Fixed dealloc laziness in releasing stuff as soon as possible
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15767 72102866-910b-0410-8b05-ffd578937521
2003-01-30 03:44:51 +00:00
Nicola Pero
efca744a34 Removed ugly 17 pixels added to title width when computing menu sizes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15765 72102866-910b-0410-8b05-ffd578937521
2003-01-30 03:03:51 +00:00
Nicola Pero
766b7e954b Small reorganization of code: scroll header view and rulers in reflectedScrolledClipView:
method, rather than when generating the scroll command to the clipview


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15763 72102866-910b-0410-8b05-ffd578937521
2003-01-30 02:15:02 +00:00
Alexander Malmberg
58fb330d35 Guard against a nil _layoutManager in a few places.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15761 72102866-910b-0410-8b05-ffd578937521
2003-01-29 20:19:20 +00:00
Alexander Malmberg
6d9a9c890c Make sure the text network stays synchronized when one part changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15760 72102866-910b-0410-8b05-ffd578937521
2003-01-29 20:19:01 +00:00
Alexander Malmberg
5580ccd32c Fix adjustment of selection range when entire selection is removed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15759 72102866-910b-0410-8b05-ffd578937521
2003-01-29 15:05:12 +00:00
Alexander Malmberg
1c5f6f4772 (-layoutLineNewParagraph:): Place baseline higher.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15758 72102866-910b-0410-8b05-ffd578937521
2003-01-29 15:04:46 +00:00
Alexander Malmberg
c90372a21a Remove debugging code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15757 72102866-910b-0410-8b05-ffd578937521
2003-01-29 00:43:43 +00:00
Alexander Malmberg
6546c340e8 Implement basic drawing of insertion point.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15756 72102866-910b-0410-8b05-ffd578937521
2003-01-29 00:42:29 +00:00
Alexander Malmberg
e9ebe98664 (-setConstrainedFrameSize:):Fix calculation of effective minimum size. (-sizeToFit): Use maximum x and y of used rect to calculate size, not used rect's own size.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15753 72102866-910b-0410-8b05-ffd578937521
2003-01-28 22:32:18 +00:00
Alexander Malmberg
36c596fdf6 Add code to adjust the selected range after every change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15752 72102866-910b-0410-8b05-ffd578937521
2003-01-28 21:57:22 +00:00
Alexander Malmberg
eaec5ebcea (-initWithFrame:textContainer:): Make the default text container inset (2,0).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15751 72102866-910b-0410-8b05-ffd578937521
2003-01-28 21:23:51 +00:00
Alexander Malmberg
a2079ad1b2 (-usedRectForTextContainer:): Return sane value if there are no line frag rects in the text container.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15750 72102866-910b-0410-8b05-ffd578937521
2003-01-28 19:05:09 +00:00
Alexander Malmberg
67626efae4 Set proper used rect for line frag rects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15749 72102866-910b-0410-8b05-ffd578937521
2003-01-28 19:04:34 +00:00
Alexander Malmberg
314e298be1 Avoid making calls to the layout manager with invalid arguments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15748 72102866-910b-0410-8b05-ffd578937521
2003-01-28 17:00:28 +00:00
Alexander Malmberg
f1255d750b Try to make sure each container gets at least one line frag rect.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15747 72102866-910b-0410-8b05-ffd578937521
2003-01-28 17:00:15 +00:00
Alexander Malmberg
bf56e3e54e Give better error message for an invalid glyph range.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15746 72102866-910b-0410-8b05-ffd578937521
2003-01-28 16:44:53 +00:00
Alexander Malmberg
46f18bc1ff Whitespace cleanups and comments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15745 72102866-910b-0410-8b05-ffd578937521
2003-01-28 16:44:34 +00:00
Alexander Malmberg
31c38c8183 (-mouseDown:): Handle empty text views. (-drawRect:): Always draw glyphs' backgrounds.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15740 72102866-910b-0410-8b05-ffd578937521
2003-01-27 15:19:15 +00:00
Alexander Malmberg
c696800396 Fix format string.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15739 72102866-910b-0410-8b05-ffd578937521
2003-01-27 15:17:13 +00:00
Nicola Pero
2dc798da12 Small optimization - avoid to call the scrollview's _doScroll: on the first
click, if the click is not actually changing the float value


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15735 72102866-910b-0410-8b05-ffd578937521
2003-01-27 03:06:34 +00:00
Nicola Pero
6107b5dca8 Patched macro calls to get the library to compile
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15733 72102866-910b-0410-8b05-ffd578937521
2003-01-27 02:55:18 +00:00
Nicola Pero
e6832b40aa Updated testPart: and its callers for new semantics; highlight the cell
in -drawArrow:highlight:


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15732 72102866-910b-0410-8b05-ffd578937521
2003-01-27 02:54:00 +00:00
Nicola Pero
9111bb7a75 Added comment about what looks like a bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15731 72102866-910b-0410-8b05-ffd578937521
2003-01-27 01:13:11 +00:00
Alexander Malmberg
b3782e2403 Draw background for the selected range.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15730 72102866-910b-0410-8b05-ffd578937521
2003-01-26 23:02:55 +00:00
Alexander Malmberg
ecfebfecfc (-textStorage:edited:range:changeInLength:invalidatedRange:): Tell the text views to resize if their text has changed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15728 72102866-910b-0410-8b05-ffd578937521
2003-01-26 20:18:04 +00:00
Alexander Malmberg
8a98cb98a8 (-glyphIndexForPoint:inTextContainer:fractionOfDistanceThroughGlyph:): Try harder to always return a valid glyph index.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15727 72102866-910b-0410-8b05-ffd578937521
2003-01-26 20:10:21 +00:00
Alexander Malmberg
5b78652c15 Make sure the typing attributes are always a mutable dictionary that we can modify.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15724 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:42:03 +00:00
Alexander Malmberg
66c63d5580 Make sure the typing attributes are always a mutable dictionary that we can modify.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15722 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:36:57 +00:00
Alexander Malmberg
14ea97a747 Add missing includes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15721 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:31:49 +00:00
Alexander Malmberg
765f78b9e5 Merge in text-system-branch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15720 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:29:30 +00:00
Alexander Malmberg
9407b0bfca Merge in text-system-branch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15718 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:21:40 +00:00
Alexander Malmberg
3c890f8d74 Clean up some includes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15715 72102866-910b-0410-8b05-ffd578937521
2003-01-26 17:57:39 +00:00
Alexander Malmberg
9b5e901493 Clean up some prototypes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15714 72102866-910b-0410-8b05-ffd578937521
2003-01-26 17:49:35 +00:00
Adam Fedor
2eb03143c3 Update image caching for printing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15666 72102866-910b-0410-8b05-ffd578937521
2003-01-21 05:08:26 +00:00