Nicola Pero
8ec1d6751e
Fixed more warnings, tidied up RTFConsumer
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15783 72102866-910b-0410-8b05-ffd578937521
2003-01-30 15:36:55 +00:00
Nicola Pero
40de25588a
Removed a couple of private methods which were not used anywhere
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15782 72102866-910b-0410-8b05-ffd578937521
2003-01-30 15:36:15 +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
7285a4c05e
Added small comment
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15779 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:50:07 +00:00
Nicola Pero
3dc164c683
Fixed compiler warnings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15778 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:37:07 +00:00
Nicola Pero
f7720034a2
Declare lockFocusInRect:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15777 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:36:34 +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
1903496e3c
Private gnustep category moved here
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15770 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:23:40 +00:00
Nicola Pero
9c6e647cf0
NSMenuItem protocol conforms to NSObject protocol
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15769 72102866-910b-0410-8b05-ffd578937521
2003-01-30 03:55:18 +00:00
Nicola Pero
1a4e944927
Fixed laziness in deallocating a window controller
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15768 72102866-910b-0410-8b05-ffd578937521
2003-01-30 03:45:22 +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
5a0d43a0ab
Fix for menu sizing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15766 72102866-910b-0410-8b05-ffd578937521
2003-01-30 03:04:25 +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
439b4c01e4
Small reorganization of code in NSScrollView
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15764 72102866-910b-0410-8b05-ffd578937521
2003-01-30 02:15:39 +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
Fred Kiefer
60d9c1dec6
Adopted RTF parser to changes to NSParagraphStyle
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15755 72102866-910b-0410-8b05-ffd578937521
2003-01-28 22:40:49 +00:00
Fred Kiefer
541252bb16
In [copyWithZone:] use mutable copy of prargraph style.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15754 72102866-910b-0410-8b05-ffd578937521
2003-01-28 22:39:56 +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
a20d8a42e5
Small optimization with scrolling
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15736 72102866-910b-0410-8b05-ffd578937521
2003-01-27 03:07:00 +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
e9b28c85c1
Patched layout manager to get it to compile; minor NSScroller updates
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15734 72102866-910b-0410-8b05-ffd578937521
2003-01-27 02:56:01 +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
7e4d879270
Don't use protocol forward declarations.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15725 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:43:16 +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