Commit graph

4644 commits

Author SHA1 Message Date
CaS
262f141efc Tiny performance hack
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12534 72102866-910b-0410-8b05-ffd578937521
2002-02-13 21:10:55 +00:00
pyr
5332b6b081 correction to remove warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12524 72102866-910b-0410-8b05-ffd578937521
2002-02-13 17:38:57 +00:00
pyr
9bdd50a46a Source/NSTableView.m: all variable declarations at the blocks' starts
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12523 72102866-910b-0410-8b05-ffd578937521
2002-02-13 17:25:55 +00:00
pyr
be44d27d7f Source/NSTableHeaderCell.m: all variable declarations at the blocks' starts
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12522 72102866-910b-0410-8b05-ffd578937521
2002-02-13 17:11:02 +00:00
pyr
61ca390121 * Source/NSTableHeaderCell.m: New drawing code, support for
highlighted cells.
* Source/NSTableHeaderView.m: support for drawing highlighted
  column, support for NSTableView mouseDownInHeaderOfTableColumn:
  and didClickTableColumn: delegate messages.
* Source/NSTableView.m: rewrite of -mouseDown method.
  rewrite of selection handling to fully support the specs
  new tableView:didClickTableColumn: and
  tableView:mouseDownInHeaderOfTableColumn delegate messages
  [NSTableView -setHighlightedTableColumn:]
  [NSTableView -highlightedTableColumn]: methods implemented.
* Headers/gnustep/gui/NSTableView.h:
  new _highlightedTableColumn ivar.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12521 72102866-910b-0410-8b05-ffd578937521
2002-02-13 16:34:40 +00:00
CaS
f79426e03c minor fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12513 72102866-910b-0410-8b05-ffd578937521
2002-02-12 19:10:31 +00:00
nico
86d2196bfa Textfields should now work again
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12498 72102866-910b-0410-8b05-ffd578937521
2002-02-11 17:21:38 +00:00
nico
166c60efbe Updated for changes in semantics of NSMutableAttributedString -string
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12497 72102866-910b-0410-8b05-ffd578937521
2002-02-11 17:21:13 +00:00
nico
623d2351e4 Fixed selecting text in textviews which was broken by my previous fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12494 72102866-910b-0410-8b05-ffd578937521
2002-02-11 16:40:02 +00:00
nico
48cddb85f1 Always update the internal knowledge of the first text view when a
text container tells us that it has changed text view


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12493 72102866-910b-0410-8b05-ffd578937521
2002-02-11 16:37:21 +00:00
nico
7cf324ce6f Always inform the layout manager that the textview is changed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12492 72102866-910b-0410-8b05-ffd578937521
2002-02-11 16:36:55 +00:00
CaS
702fe96ffb nib loading fix added.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12491 72102866-910b-0410-8b05-ffd578937521
2002-02-11 16:29:15 +00:00
CaS
a9c23f7485 Add patch to avoid unnecessary redrawing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12490 72102866-910b-0410-8b05-ffd578937521
2002-02-11 14:06:00 +00:00
nico
8f5f0db6d1 Fixed dealloc of NSLayoutManager for layout managers which have not been -init
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12485 72102866-910b-0410-8b05-ffd578937521
2002-02-11 02:42:37 +00:00
nico
cabaf9f027 Fixed dealloc so that it can dealloc a layout manager which has not been
-init


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12484 72102866-910b-0410-8b05-ffd578937521
2002-02-11 02:42:12 +00:00
nico
ee393caf05 Fixes in the layout manager so that it no longer crash if you use it without
a text container - updated NSText startup sequence for this change


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12483 72102866-910b-0410-8b05-ffd578937521
2002-02-11 02:03:24 +00:00
nico
42a7108f85 Updated setup of the text system for changes in NSLayoutManager
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12482 72102866-910b-0410-8b05-ffd578937521
2002-02-11 02:02:10 +00:00
nico
3a6b867d04 Fixed problems with no text container being set ... typically happening
early during initialization


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12481 72102866-910b-0410-8b05-ffd578937521
2002-02-11 02:01:29 +00:00
nico
f5320a793f 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
pyr
8797fef549 Source/GSFontInfo.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12475 72102866-910b-0410-8b05-ffd578937521
2002-02-09 16:17:35 +00:00
pyr
519d3dd312 [GSFontInfo -defaultLineHeightForFont]: descender is substracted not
added to ascender to give the lineHeight


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12474 72102866-910b-0410-8b05-ffd578937521
2002-02-09 16:16:00 +00:00
CaS
9362018f8a Patch to check style mask when miniaturising
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12462 72102866-910b-0410-8b05-ffd578937521
2002-02-09 08:58:37 +00:00
nico
aa0e5d6ba5 Fixed wrong date in my last changelog entry
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12433 72102866-910b-0410-8b05-ffd578937521
2002-02-08 02:03:05 +00:00
nico
f384012a46 Tidied indentation of a line
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12432 72102866-910b-0410-8b05-ffd578937521
2002-02-08 02:01:34 +00:00
nico
c1598e43f0 Implemented keybindings for moving/selecting by words in a textview
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12431 72102866-910b-0410-8b05-ffd578937521
2002-02-08 01:57:22 +00:00
nico
db5e331030 Uncommented moving by words modifying selection
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12430 72102866-910b-0410-8b05-ffd578937521
2002-02-08 01:54:49 +00:00
nico
85775be649 Simplified existing code for moving by words; added moving by words
and modifying selection


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12429 72102866-910b-0410-8b05-ffd578937521
2002-02-08 01:54:21 +00:00
nico
ddb3a8b91b Rewritten moving a word forward or backward
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12428 72102866-910b-0410-8b05-ffd578937521
2002-02-08 01:53:18 +00:00
nico
f33d80bb1e Code cleaning and rearranging in GSSimpleLayoutManager
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12426 72102866-910b-0410-8b05-ffd578937521
2002-02-06 19:22:08 +00:00
nico
02c1284a9b 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
nico
df6634b053 Removed old unused unfinished layout manager code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12421 72102866-910b-0410-8b05-ffd578937521
2002-02-06 16:22:03 +00:00
nico
b191d3f9b2 Removed old unused declarations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12420 72102866-910b-0410-8b05-ffd578937521
2002-02-06 16:21:15 +00:00
nico
0f0bb36a83 Removed old unused layout code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12419 72102866-910b-0410-8b05-ffd578937521
2002-02-06 16:20:43 +00:00
CaS
97299ef777 Improve performance by handing out proxy to internal string
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12418 72102866-910b-0410-8b05-ffd578937521
2002-02-06 13:55:49 +00:00
CaS
067359747d Fix mouseDown invocation in NSWindow
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12416 72102866-910b-0410-8b05-ffd578937521
2002-02-06 10:29:26 +00:00
nico
830678b878 Fixed bug in typing enter at the end of text
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12415 72102866-910b-0410-8b05-ffd578937521
2002-02-06 01:39:35 +00:00
nico
867df49597 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
nico
781cb5d1b4 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
nico
5c26e1bb15 Implemented shift-leftarrow and shift-rightarrow in editing text
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12411 72102866-910b-0410-8b05-ffd578937521
2002-02-05 13:23:00 +00:00
nico
1e8b6bdbbf Implemented moveBackwardsAndModifySelection: and moveForwardAndModifySelection:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12410 72102866-910b-0410-8b05-ffd578937521
2002-02-05 13:21:54 +00:00
nico
ed67509dad Activate Shift-LeftArrow and Shift-RightArrow
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12409 72102866-910b-0410-8b05-ffd578937521
2002-02-05 13:21:14 +00:00
nico
cbaf3c9677 textview: implemented transpose: and bound it to Control-t; updated
keybinding list to be as on openstep


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12396 72102866-910b-0410-8b05-ffd578937521
2002-02-03 14:02:40 +00:00
nico
b3b55a9cfe Updated to be as on openstep
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12395 72102866-910b-0410-8b05-ffd578937521
2002-02-03 14:01:30 +00:00
nico
58b76b645a Implemented transpose: (which is bound to Control-t)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12394 72102866-910b-0410-8b05-ffd578937521
2002-02-03 14:00:40 +00:00
nico
55ca3c3ffd Added transpose: ; removed category and cleaned up a bit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12393 72102866-910b-0410-8b05-ffd578937521
2002-02-03 14:00:07 +00:00
CaS
2e3b8aeadf Bugfixes for removing view from view and for ordring windos in.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12392 72102866-910b-0410-8b05-ffd578937521
2002-02-03 07:23:10 +00:00
FredKiefer
af4b9aae11 Made NSFontPanel behave more like the orignal on Next.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12380 72102866-910b-0410-8b05-ffd578937521
2002-02-02 00:31:49 +00:00
FredKiefer
b0d939e909 [reloadDefaultFontFamilies] load the family browser and redisplay
the selected font. [setPanelFont:isMultiple:] load the face
browser, store font weight and traits and display font name in
preview only if no preview string is set. [_initWithoutGModel]
made the set button the default button. Split most code from
[_togglePreview:] into separate method [_doPreview], which is
called, when the preview state should not change. In [_doPreview]
only display font name if preview string is not set.
[browser:selectRow:inColumn:], when selecting a family select a
face with the same weight and traits as the originaly
selected. When selecting a face, store its weight and traits.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12379 72102866-910b-0410-8b05-ffd578937521
2002-02-02 00:30:41 +00:00
FredKiefer
462861ebba New ivars for traits, weight and a future preview string.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12378 72102866-910b-0410-8b05-ffd578937521
2002-02-02 00:29:58 +00:00
FredKiefer
f4a8de7e30 [orderFrontFontPanel:] no longer sets the selected font on the
panel, as this gets done by the panel itself.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12377 72102866-910b-0410-8b05-ffd578937521
2002-02-02 00:28:52 +00:00