[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Selection patches
From: |
Serg Stoyan |
Subject: |
Selection patches |
Date: |
Tue, 9 Jul 2002 15:28:44 +0300 |
User-agent: |
Mutt/1.3.16i |
Hi,
The following patches changes a way of selected text highlighting (NSTextField,
NSTexView, etc.). Now selected text highlights with
[NSColor selectedTextBackground] instead of NSHighlightRect().
However it's not finished. Here the things that works:
- double click selects all text;
- selecting text by mouse and keyboard(Shift-RightArrow) only from the
beginning of the text line (text field);
- clicking on the text object(e.g NSTextView) unhighlights text;
- pressing motion keys unhighlits text;
Here the things have to do:
- selecting text inside line;
- selecting text from the end of line (NSSelectionAffinityUpstream?);
Does anybody has suggestions about TODOs? I don't understand why
selection inside text(not from beginning) doesn't highlights text?
--
Serg Stoyan
GSSimpleLayoutManager.m.patch
Description: Text document
NSTextView.m.patch
Description: Text document
- Selection patches,
Serg Stoyan <=