Commit Graph

338 Commits

Author SHA1 Message Date
ftang@netscape.com
6b0e44989a Change the GetRelativedWindowCoordinate to return the botton of the cursor, instead of the top of the cursor. We need this to make Mac IME candidcate window popup in a more reasonable place. author=sfraser. r=ftang 1999-11-10 23:47:56 +00:00
dmose@mozilla.org
796280940b updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
kin@netscape.com
0068650ea2 Fix for bug #16176: [DOGFOOD] need to annotate line frames with whitespace trim
layout/base/src/nsCaret.cpp
        - Modified DrawCaretWithContext so that we only
          adjust the caret position if we are within the
          frame's bounds.

    layout/html/base/src/nsTextFrame.cpp
        - Modified GetPointFromOffset() to add the width
          of a space if the offset is after a trailing space
          and it was trimmed off the frame.

r=sfraser@netscape.com
1999-10-29 13:43:11 +00:00
troy@netscape.com
b8ef6465be Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
kipp@netscape.com
e01a845da1 Removed some more warnings 1999-10-22 14:51:41 +00:00
mjudge@netscape.com
3b59f273bf massive checkin for underlying implementation of key handling from javascript and home/end breakage and.. selecting around NON-text frames. like arrowing around an image for example. 16636,16655 and another i cannot find. r=kin r=hyatt a=me 1999-10-22 00:19:18 +00:00
kipp@netscape.com
ea36a75c90 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
kin@netscape.com
bf17072a2c Fix for bug #12195: [DOGFOOD] caret cruft left after a backspace at end of line
Added code to DrawCaretWithContext() that makes sure that the caret
doesn't hang outiside the left edge of a frame.
r=sfraser@netscape.com
1999-10-01 13:16:30 +00:00
sfraser@netscape.com
67bdeb2379 Super duper new caret 1999-09-14 23:41:19 +00:00
pavlov@netscape.com
395f87e34c make the caret draw on linux - fix for 13487 1999-09-13 18:24:48 +00:00
alecf@netscape.com
a3337aad54 bulletproof to prevent crashing
(asserts will still go off)
1999-09-11 19:11:53 +00:00
sfraser@netscape.com
67a0dc4efe Fix one cause of GFX text widget crashes. If you're going to mess with my code, Mike, at least get the return values right. 1999-09-11 06:00:00 +00:00
mjudge@netscape.com
c59f7fd9c7 fixes for crasher in tree 1999-09-11 00:18:02 +00:00
sfraser@netscape.com
d7eaad71b1 Make the caret use InvetRect for drawing. 1999-08-09 19:14:43 +00:00
mjudge@netscape.com
8e4c13fcd1 massive checkin for selection. adjusting nsIDOMSelection api and nsIFrameSelection. many "small" changes. this is not as bad as it looks. layout will not be affected other than "getter" calls for selection. and all consumers of selection should be in good shape. 1999-07-18 02:27:19 +00:00
mjudge@netscape.com
3a1fd2bce3 checkin for carpool for multiple seleciton/ime selection and api changes to nsIDOMselection 1999-07-15 18:19:03 +00:00
sfraser@netscape.com
301273f455 Removal of nsCaretProperties 1999-07-14 22:18:29 +00:00
sfraser@netscape.com
5c24380020 Fix for 9361, comment out bogus assert in the caret code. a chofmann 1999-07-08 01:24:52 +00:00
sfraser@netscape.com
93c59a6641 Fix the uber caret problem, where the caret would draw incorrectly when the selection pointed to child nodes of a parent node. Now, it points to the start of the indexed child node in this situation. 1999-07-07 01:11:49 +00:00
sfraser@netscape.com
6b8eba1080 Fix GetViewForRendering() in the window coordinates case. 1999-06-15 23:54:26 +00:00
sfraser@netscape.com
01d18caba3 Implement nsCaret::GetWindowRelativeCoordinates for IME 1999-05-18 22:24:55 +00:00
sfraser@netscape.com
f2020e0d4f WIP to get caret position in window coordinates for IME 1999-04-27 21:59:18 +00:00
sfraser@netscape.com
26c4174aaf Adapt to fixed selection interfaces. 1999-04-15 20:19:34 +00:00
sfraser@netscape.com
ed976767ba Fix a problem where the caret could be using a stale offset, after a node has been split. 1999-04-13 01:13:00 +00:00
sfraser@netscape.com
ce0bfbc3c1 Caret changes to enable the caret to erase itself, and fix a bunch of caret problems. 1999-04-01 23:57:35 +00:00
mjudge@netscape.com
473201bb8f hack to get caret to draw on empty line. 1999-03-13 21:33:01 +00:00
sfraser@netscape.com
7310e264c7 Fix warning reported by warren (bracket was in wrong place). 1999-03-06 20:19:52 +00:00
scc@netscape.com
6bb3406b4d rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
akkana@netscape.com
0d8faf7d7e Fix Unix crash: comment out an assert 1999-03-03 01:11:28 +00:00
sfraser@netscape.com
038a67ffdb Fix the caret so that it draws on Windows (and UNIX, hopefully), and turn on the #define so that the caret gets created in the pres shell. It gets shown in editor mode. 1999-03-02 04:26:49 +00:00
warren@netscape.com
3fdebc0a44 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray. 1999-02-23 08:10:24 +00:00
sfraser@netscape.com
d1dd4d3a5a Part of the great nsCOMPtr carpool. Approved by those in power. 1999-02-17 02:08:01 +00:00
mcafee@netscape.com
6a62cea421 Adding do_QueryInterface() wrapper for nsCOMPtr carpool. r=scc a=sar 1999-02-17 02:08:00 +00:00
sfraser@netscape.com
b158786ba9 Added RefreshMethod, and tweaked code for the UNIX no-blinking case. 1999-02-13 04:47:45 +00:00
kipp@netscape.com
1f4b005684 Eliminate some linux compiler warnings 1999-02-12 18:24:53 +00:00
pinkerton@netscape.com
bde7cd6ceb fixes for changes to nsIPresShell api's 1999-02-12 18:18:01 +00:00
sfraser@netscape.com
a62a3c9d4a Fix after akkana's changes: nsISelection -> nsIDOMSelection 1999-02-12 00:55:46 +00:00
sfraser@netscape.com
28e8a7fa7c First Checked In. 1999-02-11 23:49:08 +00:00