shanjian@netscape.com
77b3e6e40d
#59405 IME candidate window position is not correct in text field on New card and To field
...
r = sfraser sr=kin a=blizzard
Handle the difference of cursor coordinate required by different platform.
nsICaret.h
nsCaret.cpp
nsEditor.cpp
nsPlaintextEditor.cpp
nsHTMLEditor.cpp
2001-04-19 22:46:29 +00:00
sfraser@netscape.com
9d6a3f8249
Fix the build by doing the correct style struct casting foo.
2001-04-13 01:09:06 +00:00
sfraser@netscape.com
05f341cf05
Fix for bug 53610. When the caret is in a <br> frame at the end of a line, use font metrics to get the height, rather than faking it. r=dbaron, sr=kin
2001-04-13 00:17:21 +00:00
blakeross@telocity.com
db982c61c8
Use more efficient command structure, refactor commands, broadcasters and keys, remove unused attributes, do some other optimization (72923). Landing navigator part only; this should help new window opening and some other areas. r=ben sr=hyatt
2001-04-05 19:53:13 +00:00
timeless@mac.com
5197e93c42
fix Bug 70989 Clean up lots of "shadows" and other common warnings
...
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
2001-03-21 05:32:22 +00:00
erik@netscape.com
5120dafcce
bug 71314; author=simon@softel.co.il; r=mjudge,anthonyd; sr=erik; changes
...
from IBM bidi project (Arabic, Hebrew, etc); some in ifdef for now
2001-03-21 01:16:22 +00:00
aaronl@chorus.net
4b01684c82
Pref accessibility.browsewithcaret implemented, bug=49508, r=sfraser, sr=waterson
2001-02-15 05:07:46 +00:00
brade@netscape.com
fce54bf684
rename to GetCaretCoordinates, parameter/code cleanup; r=kin; sr=sfraser
2001-02-05 15:43:24 +00:00
blakeross@telocity.com
27ba109189
Fix 41077: show caret during selection on Windows. r=rcassin@supernova.org sr=sfraser
2000-12-28 03:27:23 +00:00
mkaply@us.ibm.com
0a4750ab8f
#57006
...
r=mjduge, sr/a=sfraser
Change hardcoded 15 to a call to the devicecontext to get conversion value
2000-11-01 18:54:16 +00:00
warren@netscape.com
0462ea4ce8
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
warren@netscape.com
7730ce0cd3
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
shanjian@netscape.com
83da750a0c
#53072 IME candidate window position problem
...
r=sfraser a=ftang
Offset within view is missing in one of the code path. Add it there.
2000-09-19 21:55:59 +00:00
mjudge@netscape.com
ab294f3f8f
small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575
2000-09-14 11:45:01 +00:00
rayw@netscape.com
c6334366cb
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
2000-09-13 23:57:52 +00:00
sfraser@netscape.com
4696d397b9
Fix 51747 -- caret not drawing at the end of a line. Fix offset of clip. r=kin
2000-09-07 20:21:22 +00:00
sfraser@netscape.com
fba795f674
Fix bugs 45881 and 46850 -- general caret cruft. Ensure that caret is clipped to the scrolling view, and fix things so that the caret is properly hidden on scrolling. r=beard
2000-09-07 05:26:25 +00:00
anthonyd@netscape.com
8308e7f469
bug fixes:
...
39529 - caret width not correct for single/muti line textfields, which relied on:
46445 - nsLookAndFeel needs to be a service.
r: mjudge@netscape.com , kin@netscape.com
a:beppe
2000-07-28 22:12:45 +00:00
mjudge@netscape.com
2537c9a837
r=jfrancis,r=hyatt 42045 beta2+ 42675 beta2+ hitting return on text area not putting new line. onchange,oninput.
2000-06-28 04:00:12 +00:00
mjudge@netscape.com
d065119156
added new caret api implementation from new nsicaret api. EraseCaret. erase the caret without messing with visibility. forces a refresh of state to mDrawn=0; r=hyatt, bug = 34896
2000-06-09 04:22:20 +00:00
mjudge@netscape.com
34a00682e0
bug=34896 extra check for null in caret. this can happen sometimes when frame is destroyed in odd order. r=hyatt.
2000-06-07 01:18:41 +00:00
mjudge@netscape.com
9b0d6b0308
bug = 34896, r= hyatt. changing caret apis. this will demand that when a caret changes focus a call to setDOMSelection must be called to tell the caret what selection to listen to.
2000-06-01 02:37:40 +00:00
pavlov@netscape.com
2d15c3f4b4
changes all usages of NS_NewTimer to CreateInstance
2000-05-17 02:49:35 +00:00
mjudge@netscape.com
9548dce1c6
changing way we access caret. use the selection controller whenever possible. because it will make the caret do the right thing even when we have multiple selections accessing same caret.
2000-05-11 04:25:43 +00:00
mjudge@netscape.com
340d89a44e
stealing new bit for frames with their own selection. changing caret to be able to handle multiple selected areas. if the bit doesnt work out i will back it out.
2000-05-04 08:35:42 +00:00
mjudge@netscape.com
2e85db0702
ender lite checkin.
2000-04-27 07:37:12 +00:00
mjudge@netscape.com
7da6448f27
fixing selection speed. only copying to clipboard on mouse up
2000-04-14 23:00:30 +00:00
mjudge@netscape.com
e71b4a82d3
touch alot. changing api for notify selection listeners to add document and seleciton pointers to the api.
2000-04-14 11:21:19 +00:00
cmanske@netscape.com
a9eac5f7f0
Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge
2000-03-16 23:45:39 +00:00
mjudge@netscape.com
09015b461c
big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened.
2000-02-10 04:35:51 +00:00
pavlov@netscape.com
cdb71a9b49
remove the non-needed push/pop states r=sfraser
2000-02-04 03:03:08 +00:00
pp@ludusdesign.com
baf799923b
Converting ::GetIID() into NS_GET_IID(). Bug #20232 . r=scc, r=mozbot
2000-02-02 22:24:56 +00:00
michael.lowe@bigfoot.com
9875af405d
Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan
2000-01-21 21:56:09 +00:00
kin@netscape.com
f4797597a7
Fix for bug #21029 : Caret get's wrong offset when parent not a text node
...
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
2000-01-10 15:32:42 +00:00
ftang@netscape.com
d4988b06cc
partial fix for bug 15533 (size part). 1. change the return value from nsPiont to nsRect. Change widget code to reflect the change. In Gtk, change XIM FontSet based on the rect height. r=cata a=chofmann
1999-12-22 07:56:40 +00:00
mjudge@netscape.com
5fb61f40e8
small fixes for BR frames getting correct offset. also one case of textframe not returning proper location (simply a missed change of a regressed call in PeekOffset) nsCaret was also too stringent on the limitation of text frames as the only frames to get the caret position. these were reviewed by a few people and i just dont remember. r=simon,cmanske,akkana and hyatt?
1999-11-23 20:30:21 +00:00
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