Commit Graph
149 Commits
Author SHA1 Message Date
mjudge@netscape.com 399f8a6195 changes to allow selection in "dead" space between frames. still need work on "outside" and not in the window at all, but this is a very good chunk of the issue and it will solve many many bugs on my place. good for dogfood as well :) 1999-08-24 21:51:47 +00:00
ftang@netscape.com 0987d65ed4 implement word jump for non Ascii 1999-08-19 06:06:57 +00:00
ftang@netscape.com 051b0d8cff tune performance by elimate unnecessary reference to nsIWordBreaker in nsTexTransformer. Add NS_PRECONDITION code into nsTextTransformer to make code better 1999-08-10 07:23:56 +00:00
sfraser@netscape.com f0fb89a85e Optimization so that moving a collapsed selection does not cause the frame to redraw. 1999-08-09 19:15:04 +00:00
ftang@netscape.com 31b679ace8 fix bug 4240,5532,5529,7899 pass in current word buffer to ComputeWordWidth functions so we have the whole text that we can pass to line breaker. 1999-07-27 14:47:24 +00:00
brade@netscape.com 895143ff8a Implement InvertRect on Mac. r sfraser 1999-07-20 23:38:55 +00:00
ramiro@netscape.com 032da6b1ea Adding support for XOR selection. Updated nsIRenderingContext interface
to support InvertRect() for the XOR-ing of rectangles.  Makes selection
work as expected on windows and unix as opposed to the rectangle hack.
Stubs added for all other platforms.
1999-07-20 07:26:09 +00:00
troy@netscape.com 4588244ada Added 'm' prefix to a couple more data members of nsHTMLReflowState struct 1999-07-20 03:51:46 +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
sfraser@netscape.com 6e1d96282c Don't cast a char* to a PRUnichar* array when calling PaintTextDecorations. 1999-07-15 23:11:35 +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
kipp@netscape.com ef38067397 Removed compiler warnings 1999-07-14 17:30:22 +00:00
troy@netscape.com 2b829f8d26 Changed Reflow() to invalidate bounds for an incremental reflow 1999-07-14 15:20:01 +00:00
kipp@netscape.com 2af594ea2b Fixed bug 6574 - the problem was that the current color was being reset when the text decoration, in this case an underline, was being drawn so that the next chunk of text rendered in the smallcaps font was drawn in the wrong color 1999-07-08 19:52:57 +00:00
mjudge@netscape.com e9e5ebf31b up/down selection BRFrames dont allow selecting upon them for now. horizontal bars are now drawn selected. ect. 1999-06-19 20:36:44 +00:00
sfraser@netscape.com 1a395bd9e1 Fix for bug 8317 -- leaked caret causes crash. r mjudge, a leaf. 1999-06-16 23:55:48 +00:00
mjudge@netscape.com d9da972e13 minor changes to tweak fix from before. GetPositionSlowly was returning wrong thing causing small caps and other wierd spacing letters to be selected incorrectly. 1999-06-10 21:55:14 +00:00
mjudge@netscape.com d36c31368a fixing table selection again. also adding parameter to nsIFocusTracker that allows us to get the current caret location. I am also stopping nsTableRowFrame from putting blue border around itself since cells are a high enough granularity. made a change to nsIFrame GetPosition to remove some useless parameters ect. this caused me to change nsDOMEvent.cpp and some other places.
MJ
1999-06-10 21:08:17 +00:00
kmcclusk@netscape.com cab93f5c2b Replaced reference with pointer for accessing plainFont in nsTextFrame::Reflow. 1999-06-08 18:12:20 +00:00
joki@netscape.com 477422b696 Adding new method to nsIDOMNSUIEvent to give event pos as range offset. 1999-06-08 02:19:26 +00:00
kmcclusk@netscape.com 053337ad18 Modified TextStyle constructor to reuse the TextFrame's mFont rather than creating
a new font. The creation of the new font show up during profiling as a big hit.
1999-06-07 21:18:51 +00:00
mjudge@netscape.com da5722c2f9 fixes for selection and memory leaks 1999-06-04 23:00:24 +00:00
peterl@netscape.com 496943c89a fixed warnings 1999-06-03 02:09:03 +00:00
mjudge@netscape.com 255745201b new table selection code drag inside and outside of tables with ease. added some overriding methods to nsTableCellFrame and nsTableFrame to make selection "draw" correctly for those containers. 1999-06-01 23:04:13 +00:00
mjudge@netscape.com 2c77f1b613 reviewed sfraser approved choffman 6771 6762 UMR and Extreemly inefficient table selection code fixed simply 1999-05-20 00:52:00 +00:00
mjudge@netscape.com 90838ee562 oops fogot default boolean for non start or end node selection 1999-05-18 22:29:27 +00:00
mjudge@netscape.com 25f4c04197 wrong initial boolean value for redraw 1999-05-17 22:31:10 +00:00
mjudge@netscape.com 1d63f46158 accidentally left out a parameter to GetPositionSlowly for small caps ect. 1999-05-17 19:50:29 +00:00
mjudge@netscape.com d1520ed3dc adding in selection of non text frames in editor only 1999-05-17 00:21:18 +00:00
mjudge@netscape.com 147dc75104 adding back in keyboard navigation. removing const from peekoffset to stop the const creep. changing peekoffset to do the right thing for content based peeking... 1999-05-13 00:44:23 +00:00
kipp@netscape.com 68aa9f7c60 Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
kipp@netscape.com 5ec58e1464 Fixed bug 5255 and removed some compiler warnings 1999-05-03 20:55:12 +00:00
mjudge@netscape.com 4b59a6829a fixing bugs for unnecessary drawing in text fram as well as other assorted selection bugs. 1999-04-28 02:43:02 +00:00
mjudge@netscape.com 63e395d93d fixing skippage of some frames during selection 1999-04-27 22:35:41 +00:00
kipp@netscape.com e54b0c4d62 Removed compiler warnings; dump more info out in List method 1999-04-27 22:13:42 +00:00
mjudge@netscape.com 40459a892f selection changes for new model of content only. frames no longer contain variables referring to selection state outside of 1 bit. keyboard selection will now be disabled until i can get it working in the new selection world order. 1999-04-26 04:02:04 +00:00
kipp@netscape.com 93ecc234b1 Fixed word lookahead logic to not look at continuations to avoid duplicate information 1999-04-21 19:59:16 +00:00
kipp@netscape.com 499e87210f Work around windoze compiler lossage 1999-04-20 01:53:28 +00:00
kipp@netscape.com e47f8eeb39 Eliminate a bunch of warnings 1999-04-20 00:23:33 +00:00
akkana@netscape.com 9faa7ef21a Get rid of selection cursor for Unix now that caret is working 1999-04-15 20:42:53 +00:00
sfraser@netscape.com 88bd0b2361 Removal of nsSelectionRange, nsSelectionPoint, and fixing up resulting include problems. 1999-04-13 01:15:16 +00:00
mjudge@netscape.com 16f5043a78 indexes returned from prepareunicodestring are mContentOffset based. 3641 3772 Hoffman approved 1999-04-07 22:56:09 +00:00
ftang@netscape.com 5263a4c2ff add one boolean to indicate word break or line break 1999-04-06 22:41:44 +00:00
sfraser@netscape.com ed62e0303a Remove caret->Refresh calls. The presshell now refreshes the caret after painting. 1999-04-02 00:01:05 +00:00
sfraser@netscape.com 6cec34b975 Fix a problem with tab expansion when filling the offset indices array. 1999-03-31 20:12:42 +00:00
kipp@netscape.com 886a730b67 Support MOZ_PRE_WRAP 1999-03-31 04:12:46 +00:00
akkana@netscape.com 9e0afd4530 Turn on triangle cursor temporarily for Unix, until bug 4202 gets fixed 1999-03-29 22:02:16 +00:00
troy@netscape.com 95cbbd28b8 Changed ComputeWordFragmentWidth() to handle the case where the content
object's document pointer is NULL
1999-03-29 04:15:07 +00:00
mjudge@netscape.com 4598bbde7d fixing errors with pre spaced text. prepareunicode string was not filling the index array correctly for thatn 1999-03-27 00:18:32 +00:00
kipp@netscape.com 1bf344badb Work around some first-letter bugs 1999-03-26 00:41:36 +00:00