Commit Graph

118 Commits

Author SHA1 Message Date
kipp%netscape.com
751e2a2073 Fixed bug 5255 and removed some compiler warnings 1999-05-03 20:55:12 +00:00
mjudge%netscape.com
e60293b6e6 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
a6a19b2656 fixing skippage of some frames during selection 1999-04-27 22:35:41 +00:00
kipp%netscape.com
abc872974f Removed compiler warnings; dump more info out in List method 1999-04-27 22:13:42 +00:00
mjudge%netscape.com
f302ca2537 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
fac60d4643 Fixed word lookahead logic to not look at continuations to avoid duplicate information 1999-04-21 19:59:16 +00:00
kipp%netscape.com
5ccd9c28e6 Work around windoze compiler lossage 1999-04-20 01:53:28 +00:00
kipp%netscape.com
ba08510759 Eliminate a bunch of warnings 1999-04-20 00:23:33 +00:00
akkana%netscape.com
ac974362ad Get rid of selection cursor for Unix now that caret is working 1999-04-15 20:42:53 +00:00
sfraser%netscape.com
e4b0d79daa Removal of nsSelectionRange, nsSelectionPoint, and fixing up resulting include problems. 1999-04-13 01:15:16 +00:00
mjudge%netscape.com
fae945861f indexes returned from prepareunicodestring are mContentOffset based. 3641 3772 Hoffman approved 1999-04-07 22:56:09 +00:00
ftang%netscape.com
cb00111a4d add one boolean to indicate word break or line break 1999-04-06 22:41:44 +00:00
sfraser%netscape.com
b3d54b4ca9 Remove caret->Refresh calls. The presshell now refreshes the caret after painting. 1999-04-02 00:01:05 +00:00
sfraser%netscape.com
fa7a59405f Fix a problem with tab expansion when filling the offset indices array. 1999-03-31 20:12:42 +00:00
kipp%netscape.com
7829c0b04c Support MOZ_PRE_WRAP 1999-03-31 04:12:46 +00:00
akkana%netscape.com
32b54070f7 Turn on triangle cursor temporarily for Unix, until bug 4202 gets fixed 1999-03-29 22:02:16 +00:00
troy%netscape.com
325b563f8e 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
48fad89b7b 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
94b81992a1 Work around some first-letter bugs 1999-03-26 00:41:36 +00:00
kipp%netscape.com
75735878ad Ask line if we are breakable instead of using our own logic 1999-03-21 01:13:17 +00:00
kipp%netscape.com
bc13a8339b Removed some debris 1999-03-19 23:07:38 +00:00
kipp%netscape.com
a98c3d799b Fixed bug #3918 with measuring small-caps text; ported to use new line-layout API's 1999-03-18 21:02:40 +00:00
kin%netscape.com
a788e9d0a6 Fix for bug #3758: Drag selecting entire content, then deleting, causes crash.
Added check for mContentLength <= 0 to TextFrame::GetPointFromOffset().
Reviewed by jfrancis@netscape.com and sfraser@netscape.com.
Approved by chofmann@netscape.com.
1999-03-16 22:55:49 +00:00
kipp%netscape.com
9c705031c7 Only set ends-in-newline flag for pre text (bug #3262) 1999-03-16 19:36:49 +00:00
mjudge%netscape.com
f2625f7693 needed to get caret to draw at end of line and on an empty text element 1999-03-13 21:33:34 +00:00
mjudge%netscape.com
27a2f67b20 fixed GetWidth to "do the right thing" and take smallcaps and spaced words/chars into account. 1999-03-12 21:38:16 +00:00
mjudge%netscape.com
26d8cc3a13 fixed memory leaks in nsRangelist.cpp. uninitialized memory in nsTextframe, simplified APIs in nsIFrame and the underlying implementations. see layout.checkins 1999-03-12 00:17:14 +00:00
akkana%netscape.com
a909698500 Fix purify UMR error -- thanks to braddr & bruce @ puremagic.com 1999-03-10 22:30:23 +00:00
kipp%netscape.com
f9b2b82a67 Output rects in twips; eliminated some typo bugs with selection directions 1999-03-05 04:28:40 +00:00
mjudge%netscape.com
cba888fc69 updates and fixes for CTRL left arrow and right arrow. also fixes for releasing the presshell correctly. the selection code was leaking it. updates for PREV and NEXT in nsFrameTraversal 1999-03-03 01:51:21 +00:00
ftang%netscape.com
ffc1e146ac fix SmallCap to make it work for the whole range of unicode 1999-03-02 18:25:22 +00:00
troy%netscape.com
3bdf672129 Removed nsIFrame::CreateContinuingFrame() 1999-02-25 05:31:15 +00:00
troy%netscape.com
da4193eab6 Changed nsIFrame::Init() to take an additional parameter 1999-02-25 03:27:57 +00:00
ftang%netscape.com
81894ce107 change nsTextTransformer to break line by calling nsILineBreak and make nsTextFrame pass the nsILineBreaker to nsTextTransformer 1999-02-24 18:21:23 +00:00
troy%netscape.com
eb48a80e30 Added nsLayoutAtoms::textFrame 1999-02-24 05:33:40 +00:00
kipp%netscape.com
50a388ca59 Fixed bug #2885 - the linebreaker couldn't handle a special case... 1999-02-24 05:24:06 +00:00
troy%netscape.com
03c5c1f520 Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references
1999-02-24 04:48:08 +00:00
kipp%netscape.com
921f7d5d90 For now text acts like a replaced element 1999-02-23 19:35:21 +00:00
mjudge%netscape.com
b13e4da265 Added, jump to prev word, modified INIT of nsTextTransformer to better prepare for a start offset at the end of the mFrags list. added implementation of extra parameter to nsIFrame::PeekOffset to keep state for the next word problem of eating ws. nsTextFrame should be all set on implementation of jumping words. 1999-02-22 04:59:52 +00:00
mjudge%netscape.com
eaf1a3cc93 gettig word jumping to work, adding GetPrevWord to texttransformer 1999-02-22 03:20:59 +00:00
mjudge%netscape.com
fb3a597e8a nsPresShell now listens to changes in the domselection. (also modified nsIEnumerator to use NS_IMETHOD instead of virtual nsresult). Added batching for selection changes. you can move the selection, do things then turn off batching for an update if necessary. also prevented circular referencing by adding listener removal to PresShell::endDocumentListening(sp) 1999-02-19 23:47:36 +00:00
mjudge%netscape.com
90ade6856e fixing some things for selection to allow keyboard navigation. not hooked up to caret yet. also removed some not used calls in nsFrame for the "old" selection model. 1999-02-16 02:42:08 +00:00
kipp%netscape.com
7d24721c1b Be more careful about returning break-before status 1999-02-13 19:18:45 +00:00
sfraser%netscape.com
006010c385 Ensure the caret is refreshed after the text frame containing it is redrawn 1999-02-13 04:46:47 +00:00
troy%netscape.com
0debd6f0d1 Fixed some errors related to switch to using nsCOMPtr 1999-02-12 18:41:26 +00:00
kipp%netscape.com
36c243cdc0 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
sfraser%netscape.com
f220577393 #ifdef tbe blue selection triangles in until the caret code is turned on 1999-02-12 00:05:19 +00:00
sfraser%netscape.com
9ab69a922e Add two new methods needed for caret support (and other things): GetPointFromOffset, to get frame-relative coordinates of a given content offset, and GetChildFrameContainingOffset, to find the child frame that really contains the given content offset 1999-02-12 00:02:31 +00:00
akkana%netscape.com
7982a421d6 Rename nsISelection to nsIFrameSelection 1999-02-11 23:12:28 +00:00
mjudge%netscape.com
d6da223dbd Keyboard navigation, removing nsICollection(not used) adding PeekOffset to have the nsIFrame tell us where to go when moving a character ect. adding nsFrameTraversal to traverse frames, based on nsIEnumerator. mjudge x4661 1999-02-10 18:55:25 +00:00