Commit Graph

426 Commits

Author SHA1 Message Date
gavin@gavinsharp.com
1615608000 Bug 320468: SetDelayCaretOverExistingSelection is unused, patch by Adam Guthrie <ispiked@gmail.com>, r+sr=dbaron 2006-12-16 14:40:44 +00:00
uriber@gmail.com
d6fee943a2 Null-check GetContentOffsetsFromPoint's output, to avoid crashes later. bug=361229 r=roc sr=sicking 2006-11-22 17:34:15 +00:00
mats.palmgren@bredband.net
861593eb0e Right arrow key (to collapse selection to right) does not scroll textbox to show caret. b=352759 r+sr=roc 2006-11-09 16:37:10 +00:00
cvshook@sicking.cc
f75d64cf5b Kill nsGeneratedContentIterator and related classes and code since it's not used. r/sr=dbaron b=357957 2006-10-25 20:24:00 +00:00
cvshook@sicking.cc
fd61d9f701 Bug 357445: Some cleanup of range code. r/sr=jst 2006-10-21 01:30:54 +00:00
flamingice@sourmilk.net
745b1f833c Bug 351575, Dereference before null check in |nsTypedSelection::GetRangesForInterval|, patch by Adam Guthrie <ispiked@gmail.com>, r=brettw, sr=bryner 2006-09-24 06:04:00 +00:00
Olli.Pettay@helsinki.fi
67f8af50b6 Bug 349931, crashes during drag-and-drop, r+sr=roc 2006-09-18 08:47:06 +00:00
uriber@gmail.com
8c3328a001 Refactor nsIFrame::PeekOfset to use iteration instead of recursion, plus some more related refactoring. bug=300131 r+sr=roc 2006-09-11 20:43:01 +00:00
uriber@gmail.com
bc5bc7aeba Backing out bug 300131 until I figure out how to deal with the bustage. 2006-09-11 08:03:28 +00:00
uriber@gmail.com
2297c8c2f0 Refactor nsIFrame::PeekOfset to use iteration instead of recursion, and some related refactoring. bug=300131 r+sr=roc 2006-09-11 06:39:56 +00:00
uriber@gmail.com
3954591075 Allow users of nsFrameTraversal to specify what features they want the iterator to have, and make nsFrame::GetFrameFromDirection() specify "following OOFs". bug=334626 r+sr=roc 2006-08-30 13:38:16 +00:00
uriber@gmail.com
83ad47153f Use the caret visual position as a base for visual movement, but the logical position as a base for logical movement. bug=350012 r=smontagu sr=roc 2006-08-30 09:26:39 +00:00
uriber@gmail.com
5b9f3bbe12 In GetPrevNextBidiLevels, treat the "before <br>" case as if we were end-of-line. bug=330461 r=smontagu sr=roc 2006-08-14 11:25:57 +00:00
brettw@gmail.com
4d2d2ea07c Bug 346729 r+sr=bryner Table cell selection is broken (get multiple copies on paste) 2006-08-10 19:56:43 +00:00
uriber@gmail.com
a31f02572b Moved mCaretBidiLevel and its accessors from nsPresShell to nsFrameSelection. Also added sBidiKeyboard as a static service to nsContentUtils. bug=346891 r+sr=roc 2006-08-08 05:14:52 +00:00
uriber@gmail.com
5dbf40a6a3 Refactored nsSelection::GetPrevNextBidiLevels to use GetFrameFromDirection; moved GetFrameFromDirection from nsFrame to nsIFrame and made it nonvirtual. bug=333883 r=smontagu sr=roc 2006-08-07 10:54:56 +00:00
uriber@gmail.com
243a0f0410 Check for a null aNode in nsTypedSelection::ContainsNode and return immediately. bug=347036 r=brettw sr=bryner 2006-08-03 19:22:50 +00:00
uriber@gmail.com
df75e1c236 Enable PeekOffset to find the visual beginning/end of a line, and use use it for bidi caret positioning. bug=302051 r=smontagu sr=roc 2006-08-03 06:24:11 +00:00
brettw@gmail.com
fbba9fccc5 Bug 346185 r=uriber sr=bryner fixing one of two misspelled words in a line makes spellcheck underline disappear on both 2006-07-31 18:25:22 +00:00
brettw@gmail.com
5d41bc0240 Bug 345099 r+sr=bryner Fix includes from main patch on this bug 2006-07-27 21:46:34 +00:00
brettw@gmail.com
daedeb1290 Fix bustage from bug 345099 2006-07-27 18:39:18 +00:00
brettw@gmail.com
319ff67d26 Bug 345099 r=uriber sr=bryner Sort ranges in selection for faster comparison. 2006-07-27 17:57:15 +00:00
cvshook@sicking.cc
de453923d9 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst 2006-07-19 04:36:36 +00:00
uriber@gmail.com
94b72b1e7f Fix bidi behavior of ctrl+backspace and ctrl+del. bug=344226 r=smontagu sr=roc 2006-07-18 07:28:38 +00:00
uriber@gmail.com
c1899978f4 Use GetFrameForNodeOffset instead of GetPrimaryFrameFor when extending selection for doubleclick-drag. bug=344384 r+sr=roc 2006-07-13 09:08:56 +00:00
uriber@gmail.com
d7ce53fcff Clean up nsPeekOffsetStruct. bug=343763. r+sr=roc 2006-07-13 06:06:29 +00:00
uriber@gmail.com
f12ea6ca9d Bug 16203: double-click drag should do selection in "word-by-word" mode. r+sr=roc 2006-07-12 07:07:36 +00:00
martijn.martijn@gmail.com
ca373cf479 Bug 342422 - Using createRange() and then adding that range to the selection with addRange throws exception, r+sr=bzbarsky 2006-06-22 19:07:33 +00:00
mark@moxienet.com
c066904ebb 209989 After Find Again (Ctrl-G/F3), text highlighting color becomes green. Patch (tweak) by Peter Kasting <pkasting@google.com>. r=dbaron 2006-06-20 00:30:18 +00:00
mark@moxienet.com
c6c47f58f5 209989 After Find Again (Ctrl-G/F3), text highlighting color becomes green. Patch by Peter Kasting <pkasting@google.com>. r=mconnor sr=dbaron 2006-06-17 01:05:26 +00:00
mrbkap@gmail.com
896a7031f9 Avoid a crash in nsAutoScrollTimer by keeping a reference to the content instead of the view. bug 322084, patch by jpl24 <jlurz24@gmail.com>, r+sr=roc 2006-06-16 01:54:31 +00:00
brettw@gmail.com
63db171aac Bug 337871 r+sr=roc Screen jumps around with multiple textboxes and spellchecking 2006-05-30 21:59:56 +00:00
uriber@gmail.com
0cdf52bb55 Adjust the fix for bug 334256 so that it does not affect non-normal selections. bug=338315, r+sr=roc 2006-05-22 16:56:44 +00:00
uriber@gmail.com
e6b7381e3a Bug 336590: Caret can not be placed after space at the end of a wrapped line in textarea, using the mouse. r+sr=roc 2006-05-11 16:28:01 +00:00
darin@meer.net
0700b87ece landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
uriber@gmail.com
760939cd38 Fixed reversed order of parameters for call to nsPrevNextBidiLevels::SetData(). bug=336617 r+sr=roc 2006-05-06 12:56:45 +00:00
cvshook@sicking.cc
5df20de104 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
roc+@cs.cmu.edu
57ce73ee5f Bug 336186. Fix use of uninitialized rv. patch by Marc Liddell, r+sr=roc 2006-05-03 21:39:55 +00:00
bzbarsky@mit.edu
2d0a754f91 Make nsIDocumentEncoder::init scriptable. Bug 330517, patch by jpl24
<jlurz24@gmail.com>, r=bzbarsky, sr=sicking
2006-05-01 05:25:52 +00:00
mrbkap@gmail.com
ee90fb2b77 Update the caret position after reflows to avoid turds. bug 334649, r+sr=roc 2006-04-28 04:33:41 +00:00
roc+@cs.cmu.edu
e8f67572c9 Fixing Windows bustage 2006-04-26 02:45:18 +00:00
roc+@cs.cmu.edu
5e0300fa5c Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc 2006-04-26 02:01:07 +00:00
mrbkap@gmail.com
1c6529adf1 Don't cache the result of GetPointFromOffset if it failed, since subsequent queries for that offset will return the bogus offset. bug 334608, r+sr=roc 2006-04-24 21:18:44 +00:00
uriber@gmail.com
0e8b3a5eeb Set the hint to HINTRIGHT when setting selection programatically. bug=334256 r+sr=roc 2006-04-19 20:21:25 +00:00
gavin@gavinsharp.com
8be2357c10 Bug 317269: fix comment, r+sr=roc 2006-04-17 22:06:25 +00:00
martijn.martijn@gmail.com
b2c5c38d7b Backing out the patch for bug 333136, since it causes regressions 2006-04-17 20:56:25 +00:00
sharparrow1@yahoo.com
1ce6770f37 Bug 328395: deal with an nsTypedSelection existing after its presentation is destroyed so it doesn't crash. r=bzbarsky, sr=roc 2006-04-14 00:28:22 +00:00
martijn.martijn@gmail.com
1d77252b13 Bug 333136 - scrollSelectionIntoView should try to scroll the complete selection into view, r+sr=roc 2006-04-13 15:40:52 +00:00
uriber@gmail.com
8e04bf3873 Implemented bidi.edit.caret_movement_style pref, default is "visual, but logical during selection". bug=330175 r=smontagu sr=roc 2006-04-08 14:45:48 +00:00
uriber@gmail.com
57bb1f7231 For left/right arrows, don't flip the hint in PeekOffset(); instead figure it afterwards in MoveCaret(). bug=331444 r=smontagu sr=roc 2006-03-28 18:33:37 +00:00