sfraser%netscape.com
7ec6297b08
Implement the ScriptObjectOwner interface, and adapt to fixed selection interfaces.
...
git-svn-id: svn://10.0.0.236/trunk@27658 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:19:26 +00:00
joki%netscape.com
23264d13d7
Modifying auto-scrolling to not happen after every keystroke.
...
git-svn-id: svn://10.0.0.236/trunk@27429 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 01:22:09 +00:00
sfraser%netscape.com
bbda90e2b0
Updated to conform to new IDL-ized selection interfaces.
...
git-svn-id: svn://10.0.0.236/trunk@27289 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:33:32 +00:00
mjudge%netscape.com
a7f6edd45f
bug 4539 approved by hoffman. fix gives us nested selection batch changes.
...
git-svn-id: svn://10.0.0.236/trunk@26769 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 01:27:29 +00:00
mjudge%netscape.com
e8328ec579
Simon reviewed. Hoffman approved bug number 4584 fixes clicking in alternate text.
...
git-svn-id: svn://10.0.0.236/trunk@26753 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 22:49:07 +00:00
sfraser%netscape.com
ed63072871
Turn off debug selection, and fix some debug code that crashed sometimes.
...
git-svn-id: svn://10.0.0.236/trunk@26125 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 01:46:58 +00:00
sfraser%netscape.com
240d4982a4
#ifdef out the navigation printfs, and remove some unused variables.
...
git-svn-id: svn://10.0.0.236/trunk@25947 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 23:44:15 +00:00
jfrancis%netscape.com
356ea1dcd5
fixed 4057: Clear() now resets focus and anchor nodes
...
git-svn-id: svn://10.0.0.236/trunk@24663 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 09:02:30 +00:00
tague%netscape.com
b473550518
Added support for basic Japanese input on Win32
...
git-svn-id: svn://10.0.0.236/trunk@24498 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 23:36:20 +00:00
mjudge%netscape.com
d86bbf4046
M3 bug reviewed by joe francis. simply adding 0 initiializers to variables
...
git-svn-id: svn://10.0.0.236/trunk@24184 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 23:08:27 +00:00
jfrancis%netscape.com
da1fc8ea13
fixed 3632 - selection turds after delete.
...
fixed 3751 - resizing page with selected image crashes.
reviewed mjudge and kin. checkin approval chofmann.
git-svn-id: svn://10.0.0.236/trunk@24183 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 22:52:06 +00:00
buster%netscape.com
099c42d8d3
small bug fix in Collapse. If the range array has 0 children, the selection should be considered collapsed.
...
git-svn-id: svn://10.0.0.236/trunk@24158 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 05:04:34 +00:00
buster%netscape.com
fdd92cdedf
added some debugging code. uncomment the #define DELETE_SELECTION
...
to see some output about what node is selected.
git-svn-id: svn://10.0.0.236/trunk@24053 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 04:36:03 +00:00
sdagley%netscape.com
f1888f3f4e
Fixing the Mac build bustage by calling the get() accessor for comparison
...
git-svn-id: svn://10.0.0.236/trunk@23817 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 01:16:08 +00:00
mjudge%netscape.com
2531ba7a64
need to swap positions for mac. need to put COMPtr on right side of ==
...
git-svn-id: svn://10.0.0.236/trunk@23810 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 01:02:34 +00:00
mjudge%netscape.com
5876940d2e
fixed memory leaks in nsRangelist.cpp. uninitialized memory in nsTextframe, simplified APIs in nsIFrame and the underlying implementations. see layout.checkins
...
git-svn-id: svn://10.0.0.236/trunk@23802 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 00:17:14 +00:00
akkana%netscape.com
c6464d3004
Fix UMR, caught with purify by bruce@portland.puremagic.com
...
git-svn-id: svn://10.0.0.236/trunk@23423 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 00:28:47 +00:00
warren%netscape.com
0b33372d99
nsRepository -> nsIComponentManager changes.
...
git-svn-id: svn://10.0.0.236/trunk@23300 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:44:27 +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
mjudge%netscape.com
4bb2e93aeb
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
...
git-svn-id: svn://10.0.0.236/trunk@22673 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:51:21 +00:00
warren%netscape.com
cb10d9f3a0
Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray.
...
git-svn-id: svn://10.0.0.236/trunk@21585 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 08:10:24 +00:00
mjudge%netscape.com
537c9cb5ea
adding parameter to nsIFrame for ::PeekOffset to be aware of the state of jumping a word. eating WS ect. also, nsRangeList sends the proper parameter for above change.
...
git-svn-id: svn://10.0.0.236/trunk@21453 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 04:57:44 +00:00
mjudge%netscape.com
4589e1e0e1
adding word jumping with CNTRL char down now
...
git-svn-id: svn://10.0.0.236/trunk@21450 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 03:20:18 +00:00
mjudge%netscape.com
f405547ad2
fixing leak with selection. didnt realize that ElementAt caused a refcount. this should fix problem of selection not allowing presshell to go away.
...
git-svn-id: svn://10.0.0.236/trunk@21432 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 05:14:36 +00:00
mjudge%netscape.com
57b5f5c79b
adding scrolling depending on selection modification. either by key event, or outside event.
...
git-svn-id: svn://10.0.0.236/trunk@21431 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 03:49:32 +00:00
mjudge%netscape.com
46b7661e5e
Extra parameter in nsIFrameSeleciton HandleKeyEvent not necessary. nsRangeList mod now allows SHIFT-Key selection. currently bound directly to VK_LEFT,RIGHT should be changed eventually to something more internationaly friendly
...
git-svn-id: svn://10.0.0.236/trunk@21416 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 23:52:05 +00:00
mjudge%netscape.com
b52264a83e
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)
...
git-svn-id: svn://10.0.0.236/trunk@21359 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:47:36 +00:00
mjudge%netscape.com
978b778be6
moving nsFrameTraversal.* nsFrameList.* to layout/base also adding selection from keyboard.
...
git-svn-id: svn://10.0.0.236/trunk@21241 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 00:21:22 +00:00
scc%netscape.com
726c966a08
updated for nsCOMPtr (no implicit construction from raw pointers) owners should check that they agree with my choices for |dont_QueryInterface|, |do_QueryInterface| and |dont_AddRef|
...
git-svn-id: svn://10.0.0.236/trunk@21237 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:55:10 +00:00
kipp%netscape.com
3762fd4a73
Used temporary variables to avoid double-casts and make it easier for compilers to do the right thing
...
git-svn-id: svn://10.0.0.236/trunk@21098 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:24:39 +00:00
danm%netscape.com
d4b9511aad
changed nsCOMPtr comparison operators to explicitly use get(). part of nsCOMPtr carpool.
...
git-svn-id: svn://10.0.0.236/trunk@20883 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 04:39:22 +00:00
sfraser%netscape.com
379713ae18
Do the addref in a better way; part of the nsCOMPtr carpool
...
git-svn-id: svn://10.0.0.236/trunk@20853 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 02:13:54 +00:00
sfraser%netscape.com
5e58b8a2af
Part of the great nsCOMPtr carpool. Approved by those in power.
...
git-svn-id: svn://10.0.0.236/trunk@20852 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 02:08:01 +00:00
mcafee%netscape.com
8e4341cd89
Adding do_QueryInterface() wrapper for nsCOMPtr carpool. r=scc a=sar
...
git-svn-id: svn://10.0.0.236/trunk@20851 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 02:08:00 +00:00
troy%netscape.com
176116b148
Fixed some errors related to switch to using nsCOMPtr
...
git-svn-id: svn://10.0.0.236/trunk@20585 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:41:26 +00:00
kipp%netscape.com
9b917419dc
COMized nsIPresShell and nsIPresContext
...
git-svn-id: svn://10.0.0.236/trunk@20570 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:45:58 +00:00
sfraser%netscape.com
1d05d66559
Add support for selection listener interfaces
...
git-svn-id: svn://10.0.0.236/trunk@20470 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:58:46 +00:00
akkana%netscape.com
0ebe0a4652
Rename nsISelection to nsIFrameSelection
...
git-svn-id: svn://10.0.0.236/trunk@20457 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:12:28 +00:00
mjudge%netscape.com
2a9e445535
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
...
git-svn-id: svn://10.0.0.236/trunk@20274 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 18:55:25 +00:00
troy%netscape.com
bd78450e96
Changed GetNextSibling() to use a pointer argument instead of a reference
...
git-svn-id: svn://10.0.0.236/trunk@20223 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 06:13:38 +00:00
troy%netscape.com
3635a7c72c
Changed GetAdditionalChildListName() and FirstChild() to use ** instead
...
of *&
git-svn-id: svn://10.0.0.236/trunk@20212 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 02:25:01 +00:00
troy%netscape.com
2af2ec249b
Changed GetParent() to use ** instead of *&
...
git-svn-id: svn://10.0.0.236/trunk@20205 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 01:36:30 +00:00
troy%netscape.com
8934624982
Changed some nsIFrame member functions to use ** instead of *& for OUT
...
paremeters
git-svn-id: svn://10.0.0.236/trunk@20199 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 00:42:56 +00:00
peterl%netscape.com
caaefbe34c
Fixed windows build bustage
...
git-svn-id: svn://10.0.0.236/trunk@19400 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 02:53:25 +00:00
akkana%netscape.com
c65c79999a
Bug fixes for Collapse() and Extend().
...
Now single-character deletion works much better.
git-svn-id: svn://10.0.0.236/trunk@19390 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 02:13:15 +00:00
sfraser%netscape.com
2a038800f6
Add method to nsIDOMSelection to get focus and anchor nodes and offsets, and implemenations for these in nsRangeList.cpp
...
git-svn-id: svn://10.0.0.236/trunk@19266 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 02:13:09 +00:00
mjudge%netscape.com
1b0340eba8
keyboard navigation of selection. adding API for nsIFrame. fixing nsFrame and nstextframe to reflect the implementations of the nsIFrame API. nsRangeList implements the handlekeyevent now.
...
git-svn-id: svn://10.0.0.236/trunk@19246 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 00:23:40 +00:00
akkana%netscape.com
b589837c36
Add IsCollapsed; add collapsed case to DeleteFromDocument
...
git-svn-id: svn://10.0.0.236/trunk@19064 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 01:02:44 +00:00
akkana%netscape.com
52b18e6064
Implement a new interface, nsIDOMSelection, intended to become the
...
external interface for selection (to be IDL-ified later).
Fix some editor bugs:
- Advance the cursor on text insert (so text is inserted in the right order)
- Make DeleteSelection in the editor call the actual selection
- Make DeleteSelection update the frames' notion of the selection
git-svn-id: svn://10.0.0.236/trunk@19029 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 18:57:56 +00:00
mjudge%netscape.com
72e99c7c16
Must allow for the fact that content may be nsnull in ALL cases.
...
git-svn-id: svn://10.0.0.236/trunk@18694 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 02:15:38 +00:00