mozilla/layout/base/public/nsIFrameSelection.h
- Added aReturnOffset arg to GetFrameForNodeOffset().
mozilla/layout/base/src/nsCaret.cpp
- mLastContentOffset now gets it's value from the offset
returned by GetFrameForNodeOffset().
mozilla/layout/base/src/nsRangeList.cpp
- GetFrameForNodeOffset() now returns an offset to be used
with the result frame.
r=mjudge@netscape.com,jfrancis@netscape.com
git-svn-id: svn://10.0.0.236/trunk@57280 18797224-902f-48f8-a5cc-f745e15eee43
layout/base/public/nsIFrame.h
- Added GetContentAndOffsetsFromPoint() method. This
method will eventually replace GetPosition().
layout/base/public/nsIFrameSelection.h
- Added HandleDrag() and Start/StopAutoScrollTimer() methods.
layout/base/src/nsRangeList.cpp
- Added implementation for HandleDrag() and
Start/StopAutoScrollTimer() methods.
layout/html/base/src/nsBRFrame.cpp
- Added implementation for GetContentAndOffsetsFromPoint().
layout/html/base/src/nsFrame.cpp
layout/html/base/src/nsFrame.h
- Added implementation for GetContentAndOffsetsFromPoint().
- Added GetClosestViewForFrame() utility method.
- Modified HandleEvent() to call HandleRelease() which now
stops the auto scrolling timers.
- Modified HandleDrag() to call nsIFrameSelection's HandleDrag()
and Start/StopAutoScrollTimer() methods.
layout/html/base/src/nsTextFrame.cpp
- Added implementation for GetContentAndOffsetsFromPoint().
git-svn-id: svn://10.0.0.236/trunk@49313 18797224-902f-48f8-a5cc-f745e15eee43
editor/base/nsEditorEventListeners.cpp
editor/base/nsEditorEventListeners.h
- Added code to scroll the selection into view
after processing key events.
- Commented out the hack that redraws the entire
view when the focus is gained and lost. Replaced
the hack code with calls to RepaintSelection().
layout/base/public/nsIFrameSelection.h
layout/base/public/nsIPresShell.h
layout/html/base/src/nsPresShell.cpp
- Added ScrollSelectionIntoView() and RepaintSelection() methods.
layout/base/src/nsRangeList.cpp
- Added implementation for ScrollSelectionIntoView() and
RepaintSelection().
- Check for NULL primary frame in GetFocusNodeRect()
to fix bug #12793.
git-svn-id: svn://10.0.0.236/trunk@45163 18797224-902f-48f8-a5cc-f745e15eee43
Here is the old log from nsISelection (since CVS doesn't allow renames):
> revision 1.9
> date: 1999/02/02 00:23:35; author: mjudge%netscape.com; state: Exp; lines: +2 -1
> keyboard navigation of selection. adding API for nsIFrame. fixing nsFrame and nstextframe to reflect the implementations of the nsIFrame API. nsRangeList implements the handlekeyevent now.
> ----------------------------
> revision 1.8
> date: 1999/01/29 18:57:51; author: akkana%netscape.com; state: Exp; lines: +6 -0
> Implement a new interface, nsIDOMSelection, intended to become the
> external interface for selection (to be IDL-ified later).
>
> Fix some editor bugs:
> - Advance the cursor on text insert (so text is inserted in the right order)
> - Make DeleteSelection in the editor call the actual selection
> - Make DeleteSelection update the frames' notion of the selection
> ----------------------------
> revision 1.7
> date: 1999/01/25 01:42:32; author: mjudge%netscape.com; state: Exp; lines: +3 -4
> Focus tracker needs to send the tracker to the implementation of selection so that it can update the tracker as to which frame(s) should be considered the focus frames ect. This is not yet working fully. Everything I am checking in will stay, I simply have a decision to make as to exactly what to do next. RangeList also had some modifications to better selection
> ----------------------------
> revision 1.6
> date: 1999/01/22 18:58:09; author: mjudge%netscape.com; state: Exp; lines: +6 -0
> chagnes for selection to work
> ----------------------------
> revision 1.5
> date: 1999/01/18 22:57:08; author: mjudge%netscape.com; state: Exp; lines: +1 -1
> Files for selection across frames.
> ----------------------------
> revision 1.4
> date: 1998/12/14 18:34:09; author: mjudge%netscape.com; state: Exp; lines: +13 -1
> adding in selection
> ----------------------------
> revision 1.3
> date: 1998/12/08 18:25:37; author: mjudge%netscape.com; state: Exp; lines: +9 -32
> changes to selection
> ----------------------------
> revision 1.2
> date: 1998/05/01 05:55:11; author: rpotts; state: Exp; lines: +1 -1
> nslayout.h is *all* lower case
> ----------------------------
> revision 1.1
> date: 1998/04/30 19:15:05; author: rods; state: Exp;
> initial
git-svn-id: svn://10.0.0.236/trunk@20454 18797224-902f-48f8-a5cc-f745e15eee43