Fred Kiefer
cc9acbc54a
Adopted implemtantion of [checkSpelling:] to changes in
...
NSSpellChecker. [updateSpellingPanelWithMisspelledWord:] is now
called from here.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11301 72102866-910b-0410-8b05-ffd578937521
2001-11-03 09:56:02 +00:00
Fred Kiefer
6f2e0bf7a7
Added include for NSScrollView to avoid compiler warning.
...
[_blink] don't call [NSApp updateWindows], just redisplay our
window.
[mouseDown:] replaces all [_window flushWindow] with [self
displayIfNeeded].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11292 72102866-910b-0410-8b05-ffd578937521
2001-11-02 13:07:09 +00:00
Nicola Pero
b9e1b6d6ed
Implemented blinking insertion point
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11287 72102866-910b-0410-8b05-ffd578937521
2001-10-31 01:09:07 +00:00
Nicola Pero
e9f5fe627b
Check if an attachment was clicked every time we have attachments, not
...
only if we import graphics
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11227 72102866-910b-0410-8b05-ffd578937521
2001-10-23 20:58:11 +00:00
Nicola Pero
5128fe7499
Indentation tidyups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10813 72102866-910b-0410-8b05-ffd578937521
2001-08-30 18:36:06 +00:00
Adam Fedor
08c97488f8
Prevent NSTextView from asking a text storage of zero length
...
for attributes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10731 72102866-910b-0410-8b05-ffd578937521
2001-08-19 23:28:27 +00:00
Nicola Pero
5320d8d0ec
Fixed setString: when there is no previous string, so that it uses
...
the typingAttributes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10691 72102866-910b-0410-8b05-ffd578937521
2001-08-13 11:44:42 +00:00
Gregory John Casamento
016e021fc1
Added nextKeyView to views withing gmodel to allow user to tab between buttons. Fixed a bug in NSBrowser. Made some corrections to NSSpellChecker and [NSTextView checkSpelling:]
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10641 72102866-910b-0410-8b05-ffd578937521
2001-08-03 05:16:49 +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
8ef9a8a337
Tidied macro syntax which was giving warnings on new compilers
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10122 72102866-910b-0410-8b05-ffd578937521
2001-06-08 23:36:06 +00:00
Fred Kiefer
5e273a37d1
Implemented some basic handling for mouse down on attachment cell.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10072 72102866-910b-0410-8b05-ffd578937521
2001-06-04 16:25:32 +00:00
Mirko Viviani
60b8f20ce4
* Source/NSButtonCell.m ([NSButtonCell -setCellAttribute:to:]):
...
implemented.
([NSButtonCell -cellAttribute:]): implemented.
* Source/NSPopUpButton.m ([NSPopUpButton -keyDown:]): implemented
keyboard selection.
([NSPopUpButton -resignFirstResponder]): implemented.
([NSPopUpButton -resignKeyWindow]): implemented.
* Source/NSPopUpButtonCell.m ([NSPopUpButtonCell
-drawInteriorWithFrame:inView:]): from -drawWithFrame:inView:
* Source/NSButton.m ([NSButton -becomeFirstResponder]): set cell first
responder.
([NSButton -resignFirstResponder]): likewise.
([NSButton -becomeKeyWindow]): likewise.
([NSButton -resignKeyWindow]): likewise.
* Source/NSBrowserCell.m ([NSBrowserCell -drawInteriorWithFrame:
inView:]): draw correct dotted box.
* Source/NSBrowser.m ([NSBrowser -becomeFirstResponder]): make first
responder the latest column.
([NSBrowser -acceptsFirstResponder]): accepts first responder status.
([NSBrowser -keyDown:]): handle tabs to select next/previous key view.
([NSBrowser -moveRight:]): make browser column the first responder.
([NSBrowser -moveUp:]): likewise.
([NSBrowser -moveDown:]): likewise.
([NSBrowser -moveLeft:]): likewise.
([NSBrowser -_unloadFromColumn:]): remove columns from superview and
array.
([NSBrowser -_remapColumnSubviews:]): set the correct first responder.
* Source/NSWindow.m ([NSWindow -sendEvent:]): retain/release first
responder for keyUp/keyDown events. Discard NSLeftMouseDown for closed
windows.
([NSWindow -dealloc]): release _originalResponder
* Source/NSView.m ([NSView -removeSubview:]): remove next responder.
* Source/NSCell.m ([NSCell -setUpFieldEditorAttributes:]): clear
selected range.
([NSCell -editWithFrame:inView:editor:delegate:event:]): redisplay
textObject after invoking mouseDown:
([NSCell -drawInteriorWithFrame:inView:]): draw dotted-line outline
when first responder.
([NSCell -setCellAttribute:to:]): implemented.
* Source/NSTextView.m ([NSTextView -moveUp:]): don't call
_illegalMovement: for the text field editor.
([NSTextView -moveDown:]): likewise.
([NSTextView -moveLeft:]): likewise.
([NSTextView -moveRight:]): likewise.
* Source/NSTextField.m ([NSTextField -textDidEndEditing:]): fixed
return/tab/backtab text movement code.
* Headers/gnustep/gui/NSGraphics.h: added NSDottedFrameRect prototype.
* Headers/gnustep/gui/NSMatrix.h: added ivars for dotted frame rect.
* Source/NSMatrix.m ([NSMatrix -selectCell:]): implemented.
([NSMatrix -_selectCell:atRow:column:]): new method.
([NSMatrix -selectCellAtRow:column:]): call _selectCell:atRow:column:
([NSMatrix -selectCellWithTag:]): likewise.
([NSMatrix -selectAll:]): Do not select disabled or editable cells.
([NSMatrix -textDidEndEditing:]): fixed return/tab/backtab text
movement code.
([NSMatrix -_selectNextSelectableCellAfterRow:column:]): don't select
disabled cells.
([NSMatrix -_selectPreviousSelectableCellBeforeRow:column:]): likewise.
([NSMatrix -_privateFrame:mode:numberOfRows:numberOfColumns:]): set
dottedRow and dottedColumn.
([NSMatrix -insertRow:withCells:]): likewise.
([NSMatrix -removeColumn:]): likewise.
([NSMatrix -removeRow:]): likewise.
([NSMatrix -mouseDown:]): likewise and discard disabled cells.
([NSMatrix -drawRect:]): set shows cell first responder.
([NSMatrix -becomeFirstResponder]): draw dotted box for cell.
([NSMatrix -resignFirstResponder]): likewise.
([NSMatrix -becomeKeyWindow]): likewise.
([NSMatrix -resignKeyWindow]): likewise.
([NSMatrix -_setNeedsDisplayDottedCell]): likewise.
([NSMatrix -selectTextAtRow:column:]): set shows cell first responder.
([NSMatrix -setState:atRow:column:]): likewise. Deselect previous
selected cell in radio mode.
* Source/NSSavePanel.m (createRowsForColumn:): use _gsSavePanelCompare:
and check extension against _requiredFileType and not "app", "bundle",
etc.
([NSString -_gsSavePanelCompare:]): filename compare.
([NSSavePanel -_initWithoutGModel]): set key view for keyboard
interaction.
([NSSavePanel -keyDown:]): removed.
([NSSavePanel -controlTextDidEndEditing:]): removed.
* Source/NSOpenPanel.m ([NSOpenPanel -_shouldShowExtension:isDir:]):
added isDir argument.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9473 72102866-910b-0410-8b05-ffd578937521
2001-03-22 00:27:37 +00:00
Nicola Pero
b24794ed3c
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9037 72102866-910b-0410-8b05-ffd578937521
2001-02-07 20:35:13 +00:00
Nicola Pero
a7967b1511
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8687 72102866-910b-0410-8b05-ffd578937521
2001-01-18 23:04:04 +00:00
Nicola Pero
3ae06c1286
Changes for better cursor movement
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8591 72102866-910b-0410-8b05-ffd578937521
2001-01-14 11:32:07 +00:00
Nicola Pero
e35c3b51e9
Rewritten deleting
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8562 72102866-910b-0410-8b05-ffd578937521
2001-01-11 23:32:49 +00:00
Nicola Pero
44a4abdda9
Sizing improvements
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8485 72102866-910b-0410-8b05-ffd578937521
2001-01-07 01:05:44 +00:00
Richard Frith-MacDonald
a6a81013c4
A few copy/paste fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8466 72102866-910b-0410-8b05-ffd578937521
2001-01-03 10:39:02 +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
Richard Frith-MacDonald
7fdaabcdde
Selection fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8450 72102866-910b-0410-8b05-ffd578937521
2000-12-27 06:28:29 +00:00
Nicola Pero
bb8c149fce
Rewritten setting typing attributes from insertion point; tidied, minor
...
changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8416 72102866-910b-0410-8b05-ffd578937521
2000-12-23 13:07:36 +00:00
Nicola Pero
901d2114eb
Implemented notifications to the delegate about changes in the selection
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8412 72102866-910b-0410-8b05-ffd578937521
2000-12-22 19:08:29 +00:00
Nicola Pero
a53e0a5769
Implemented shift click; moved code around
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8409 72102866-910b-0410-8b05-ffd578937521
2000-12-22 17:52:23 +00:00
Nicola Pero
85ff7509fc
Work on drawing insertion point
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8407 72102866-910b-0410-8b05-ffd578937521
2000-12-22 16:57:21 +00:00
Nicola Pero
2a0c9fda52
Use layout manager's ivars for flags shared between textviews with the same
...
layout manager; fixed/implemented notifications, begin/end editing etc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8399 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:32:01 +00:00
Nicola Pero
ed69dee7f2
Tidyups, access some ivars directly, and a bug fix for scrolling
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8386 72102866-910b-0410-8b05-ffd578937521
2000-12-20 22:56:40 +00:00
Nicola Pero
6455046227
Merged NSText code into NSTextView
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8383 72102866-910b-0410-8b05-ffd578937521
2000-12-20 17:00:32 +00:00
Nicola Pero
7427870911
Added NSText notifications to delegate
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8380 72102866-910b-0410-8b05-ffd578937521
2000-12-20 12:50:15 +00:00
Nicola Pero
be3091ea03
Moved selectedRange and setSelectedRange: from NSText
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8377 72102866-910b-0410-8b05-ffd578937521
2000-12-19 22:35:22 +00:00
Nicola Pero
a20166067f
Fix in my last change, plus some verbose comments added
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8375 72102866-910b-0410-8b05-ffd578937521
2000-12-19 21:20:39 +00:00
Nicola Pero
9a852c5fe4
Added code to share editing attributes and delegate between multiple
...
text views with the same layout manager
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8371 72102866-910b-0410-8b05-ffd578937521
2000-12-19 18:45:19 +00:00
Nicola Pero
da6a352dd3
Imported some code from NSText; removed lots of methods already implemented
...
in NSText (the superclass)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8366 72102866-910b-0410-8b05-ffd578937521
2000-12-19 15:34:21 +00:00
Nicola Pero
d3c3d91e82
Moved some code from NSText
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8360 72102866-910b-0410-8b05-ffd578937521
2000-12-18 22:07:28 +00:00
Nicola Pero
b7a8dc9399
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8355 72102866-910b-0410-8b05-ffd578937521
2000-12-18 18:08:21 +00:00
Nicola Pero
abed70f622
Retain/release fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8339 72102866-910b-0410-8b05-ffd578937521
2000-12-16 20:19:18 +00:00
Fred Kiefer
9aa55f49e5
Use text container implementation from super class.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7674 72102866-910b-0410-8b05-ffd578937521
2000-09-30 23:11:50 +00:00
Fred Kiefer
915919b6a5
[initWithFrame:] switch of the creation of a NSLayoutManager.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7545 72102866-910b-0410-8b05-ffd578937521
2000-09-18 23:34:02 +00:00
Nicola Pero
854819af64
Fixed linking to the text container during initialization
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7466 72102866-910b-0410-8b05-ffd578937521
2000-09-10 21:38:04 +00:00
Fred Kiefer
4f98e88b87
Use more implementation from super to make this class temporary working
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7373 72102866-910b-0410-8b05-ffd578937521
2000-09-04 18:41:59 +00:00
Adam Fedor
8298410a10
Merge 0.6.6 branch into main.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7188 72102866-910b-0410-8b05-ffd578937521
2000-08-07 22:06:04 +00:00
Fred Kiefer
4b02e5cd2c
[setAllowsUndo:] and [allowsUndo] now use ivar
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6851 72102866-910b-0410-8b05-ffd578937521
2000-07-01 12:10:37 +00:00
Adam Fedor
136417828c
Use GS_PASS_ARGUMENTS
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6844 72102866-910b-0410-8b05-ffd578937521
2000-06-29 14:25:07 +00:00
Fred Kiefer
1ffed54308
*** empty log message ***
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6703 72102866-910b-0410-8b05-ffd578937521
2000-06-16 17:12:25 +00:00
Fred Kiefer
0d43d397ab
Call super methods for pasteboard. Moved drag registration back to here.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6615 72102866-910b-0410-8b05-ffd578937521
2000-05-23 22:59:36 +00:00
Fred Kiefer
ef4a38f178
Added basic code for the character formating methods and call super
...
implementation for methods that moved up into NSText. Later we may
remove the implementation of these methods here.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6603 72102866-910b-0410-8b05-ffd578937521
2000-05-20 16:57:04 +00:00
Fred Kiefer
2cd62b8b5f
Adopted to changes in header
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6595 72102866-910b-0410-8b05-ffd578937521
2000-05-13 14:28:02 +00:00
Richard Frith-MacDonald
91e30dedde
Various text/font fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6291 72102866-910b-0410-8b05-ffd578937521
2000-03-16 14:16:46 +00:00
Adam Fedor
b33bb418f4
Merge from 0.6.5
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6040 72102866-910b-0410-8b05-ffd578937521
2000-02-19 00:40:47 +00:00
Nicola Pero
bb4b512849
Updated for change in NSView ivar names
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5732 72102866-910b-0410-8b05-ffd578937521
2000-01-10 02:30:45 +00:00
Adam Fedor
0bfd542562
Merge from dawn
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4853 72102866-910b-0410-8b05-ffd578937521
1999-09-09 02:56:20 +00:00