43 Commits

Author SHA1 Message Date
mrbkap%gmail.com
fb15536c44 Redragging over empty text field doesn't show drag caret, except for the last text field. bug 390228, r+sr=roc a=dbaron
git-svn-id: svn://10.0.0.236/trunk@231983 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-13 21:33:25 +00:00
peterv%propagandism.org
3715685fe5 Fix for bug 387380 (No visible caret when caret browsing). r=smaug, sr=jst, a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@231795 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 13:19:14 +00:00
mrbkap%gmail.com
64f5c8e34a Update the caret position after reflows to avoid turds. bug 334649, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195632 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-28 04:33:41 +00:00
roc+%cs.cmu.edu
0efb95265d Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195411 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 01:57:22 +00:00
mrbkap%gmail.com
07437f7122 Make the caret paint in the same color as the foreground so it's not always painted black. bug 334635, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195087 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 19:13:58 +00:00
mrbkap%gmail.com
b8eef2bbb9 Draw the caret in the normal path of frame painting instead of doing it directly to the current view. bug 287813, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@194553 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 23:16:46 +00:00
dbaron%dbaron.org
f982efe3c6 One-line descriptions of files, partly because they show up in LXR.
git-svn-id: svn://10.0.0.236/trunk@193246 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 05:56:38 +00:00
smontagu%smontagu.org
1500b61ab0 Bug 305798: Bidi: After deleting last character of reverse-direction text, arrow keys move caret incorrectly. Patch by Uri Bernstein <uriber@gmail.com, r=smontagu, sr=roc
git-svn-id: svn://10.0.0.236/trunk@184752 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 09:37:01 +00:00
bsmedberg%covad.net
0217e2f9a9 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
mats.palmgren%bredband.net
cfa8f92f51 Don't use a Frame pointer to remember where we last painted the caret, instead use Content+offset+hint. b=296464 r=mrbkap sr=roc a=cbeard
git-svn-id: svn://10.0.0.236/trunk@177536 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 03:44:16 +00:00
aaronleventhal%moonset.net
2ed5e7dde3 Bug 261054. Make caret consistently the same width throughout Gecko/Mozilla. Configurable through ui.caretWidth. r=glazou, sr=rbs
git-svn-id: svn://10.0.0.236/trunk@163639 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 01:12:14 +00:00
gerv%gerv.net
2ac510b678 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
leon.zhang%sun.com
d7f40ef4bd Bug 199412: optimize nsTypedSelection::ScrollIntoView r/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@141464 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-20 01:03:40 +00:00
leon.zhang%sun.com
6942d9f46a Patch for bug 35296:SetCaretEnabled() takes too long
r/sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@141089 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-13 08:38:57 +00:00
henry.jia%sun.com
365360b6e3 Patch for bug 35296: SetCaretEnabled() takes too long
Patch by Leon.Zhang@sun.com
r=sfraser, sr=kin


git-svn-id: svn://10.0.0.236/trunk@140561 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 05:48:09 +00:00
peterv%netscape.com
c96c6fa64f Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@138957 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 15:08:41 +00:00
sfraser%netscape.com
2636d9a8d0 Fix bug 74404: show caret drag feedback. r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@138640 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 23:09:51 +00:00
aaronl%netscape.com
1726017a75 Bug 166791. Invisible insertion point after tabbing to text field when typeaheadfind is active. r=mjudge, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@130470 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 00:07:53 +00:00
mjudge%netscape.com
2f5c006a1d 4302 r=jfrancis sr=kin. pageup/down bug with navigation.
git-svn-id: svn://10.0.0.236/trunk@128157 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:55:30 +00:00
aaronl%netscape.com
89d5e8b0f9 Bug 158754. Allow type ahead find to change selection color, and show caret with selection. r=akkana, sr=jst
git-svn-id: svn://10.0.0.236/trunk@126980 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 08:15:30 +00:00
dbaron%fas.harvard.edu
7e821aaa94 Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner
git-svn-id: svn://10.0.0.236/trunk@124073 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:38:55 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
shanjian%netscape.com
656421251c #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


git-svn-id: svn://10.0.0.236/trunk@92763 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-19 22:46:29 +00:00
brade%netscape.com
afcf9816d8 add coordinate enums, rename GetWindowCoordinates to GetCaretCoordinates; r=kin; sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@86229 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 15:42:58 +00:00
mjudge%netscape.com
2fc6190bef 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
git-svn-id: svn://10.0.0.236/trunk@79118 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:45:01 +00:00
anthonyd%netscape.com
1355a05c4e 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


git-svn-id: svn://10.0.0.236/trunk@75084 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 22:12:45 +00:00
mjudge%netscape.com
0f171b0661 new caret api for erasing the caret. this is needed to simply clear the caret away without messing with visibility. r= hyatt. bug=34896
git-svn-id: svn://10.0.0.236/trunk@71872 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 04:21:02 +00:00
mjudge%netscape.com
eaec62deed 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.
git-svn-id: svn://10.0.0.236/trunk@71230 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 02:37:40 +00:00
mjudge%netscape.com
2f9bd42697 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.
git-svn-id: svn://10.0.0.236/trunk@69180 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:25:43 +00:00
mjudge%netscape.com
e5b2003819 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.
git-svn-id: svn://10.0.0.236/trunk@68219 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 08:35:42 +00:00
mjudge%netscape.com
24b8f29c46 ender lite checkin.
git-svn-id: svn://10.0.0.236/trunk@67387 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 07:37:12 +00:00
ftang%netscape.com
cfa1a18207 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
git-svn-id: svn://10.0.0.236/trunk@56377 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 07:56:40 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
jfrancis%netscape.com
f71c9de0f6 tidying up
git-svn-id: svn://10.0.0.236/trunk@48046 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:12:17 +00:00
slamm%netscape.com
2d21f26825 Fix build warnigns.
git-svn-id: svn://10.0.0.236/trunk@47612 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 19:19:51 +00:00
sfraser%netscape.com
f4a7576460 Super duper new caret
git-svn-id: svn://10.0.0.236/trunk@47455 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 23:41:19 +00:00
sfraser%netscape.com
fdcb802f6e Removal of nsCaretProperties
git-svn-id: svn://10.0.0.236/trunk@39412 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 22:18:29 +00:00
sfraser%netscape.com
67ddcd0311 WIP to get caret position in window coordinates for IME
git-svn-id: svn://10.0.0.236/trunk@29534 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 21:59:18 +00:00
sfraser%netscape.com
b8ae43ec5b Caret changes to enable the caret to erase itself, and fix a bunch of caret problems.
git-svn-id: svn://10.0.0.236/trunk@25953 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 23:57:35 +00:00
scc%netscape.com
817f56596f rename |IID()| --> |GetIID()|
git-svn-id: svn://10.0.0.236/trunk@22744 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 19:48:57 +00:00
sfraser%netscape.com
17e456ea85 Added RefreshMethod, and tweaked code for the UNIX no-blinking case.
git-svn-id: svn://10.0.0.236/trunk@20657 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 04:47:45 +00:00
sfraser%netscape.com
cdd9b46762 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@20462 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:49:08 +00:00