Commit Graph

135 Commits

Author SHA1 Message Date
sfraser%netscape.com
d73dfd8ddb Landing editor API changes. Removed nsITextEditor and nsTextEditor, split interfaces into more, non-overlapping interfaces, and other general cleanup. 1999-08-09 01:37:50 +00:00
mjudge%netscape.com
c0b1525970 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
ramiro%netscape.com
416ac6f958 Dont clobber the DEFINES macro. 1999-07-16 13:28:12 +00:00
mjudge%netscape.com
21700e5d88 checkin for carpool for multiple seleciton/ime selection and api changes 1999-07-15 18:19:20 +00:00
dveditz%netscape.com
9bc612bf52 makeile cleanups 1999-07-02 13:38:47 +00:00
buster%netscape.com
6b09e8c917 Preparation for ender-based text control
* added focus listener.  Doesn't do much yet, but when focus notifications start appearing, we'll be ready for them.  The code is in
place to hide selection when we lose focus and paint selection when we get focus.  That's probably not quite right, but it's a start.
We will need to be able to determine the distinction between losing focus to another control within our app, and losing focus to
another app.
* added support for disabled and readonly states in the editor.  This is accomplished by having flags set by the client, and letting the
rules system deal with those flags.  The flags I added are:
     TEXT_EDITOR_FLAG_PLAINTEXT   0x01   // only plain text editing is allowed
     TEXT_EDITOR_FLAG_SINGLELINE  0x02   // enter key and CR-LF handled specially
     TEXT_EDITOR_FLAG_PASSWORD    0x04   // text is not entered into content, only a representative character
     TEXT_EDITOR_FLAG_READONLY    0x08   // editing events are disabled.  Editor may still accept focus.
     TEXT_EDITOR_FLAG_DISALBED    0x10   // all events are disabled (like scrolling).  Editor will not accept focus.
* added WillInsertBreak/DidInsertBreak into text rules, so flags could be checked.  This gets us readonly, disabled, and single line
behavior.
* cleaned up the code that allocates, registers, and destroys event listeners.  Thanks to Kin and Simon for cleaning up the
ownership model on the listeners, it was a big help.
* added support for a max text length.  You can now tell the text editor, be no bigger than n characters.
1999-05-28 21:24:18 +00:00
mcmullen%netscape.com
43e2872126 Removed obsolete base/baseDebug.shlb 1999-05-27 23:28:37 +00:00
dp%netscape.com
94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
kin%netscape.com
ea696e615b Made read only parameters const. 1999-05-12 22:17:41 +00:00
kin%netscape.com
72b795573f Changed all references to nsVoidArray to nsStringArray. 1999-05-12 21:56:11 +00:00
sspitzer%netscape.com
94f811637a fix pedantic build bustage. (thanks to kin for the fix) 1999-05-12 16:53:26 +00:00
kin%netscape.com
2f9144f0b4 Added implementation for First/LastSelectedBlock().
Added better iterator status tracking.
1999-05-11 19:16:24 +00:00
kin%netscape.com
f56ad4a10c Made Add/RemoveWordToPersonalDictionary pure virtual. 1999-05-11 19:14:43 +00:00
kin%netscape.com
92ef71eee9 Added nsISpellChecker.h to export list. 1999-05-11 19:13:39 +00:00
dp%netscape.com
b5707f7a96 Converting stray UnregisterFactory calls to UnregisterComponent 1999-05-06 01:37:04 +00:00
akkana%netscape.com
430fc255bd Track change from iDirection to ECollapsedSelectionAction 1999-05-05 23:36:28 +00:00
kin%netscape.com
dc11fb7a86 Renamed NS_TEXTSERVICE_CID to NS_SPELLCHECKER_CID. 1999-05-04 22:03:32 +00:00
kin%netscape.com
4d9e8272c4 Initial checkin of file. 1999-05-04 21:54:11 +00:00
kin%netscape.com
a716fda659 Removed enabled code that was ifdef'd with HAVE_EDIT_ACTION_LISTENERS. 1999-04-27 19:17:35 +00:00
kin%netscape.com
6aa1c4b270 Modified nsIEditActionListener to have Will*() and Do*() methods. Added
nsIEditActionListener support to nsEditor.cpp and nsEditor.h.
1999-04-27 17:14:28 +00:00
sfraser%netscape.com
3947ef627f Updated project 1999-04-26 19:52:04 +00:00
sspitzer%netscape.com
90b0dbe615 more cvs ignorage 1999-04-26 18:29:39 +00:00
sspitzer%netscape.com
fcfd7c1d8b cvs ignorage of generated makefiles 1999-04-26 18:26:05 +00:00
kin%netscape.com
0a1c9c3096 Misc changes to the nsITextServicesDocument interface. 1999-04-23 16:52:28 +00:00
kin%netscape.com
8a94321424 Removed spellchk from the list of directories to build. 1999-04-23 15:47:33 +00:00
sfraser%netscape.com
c95b7f0a83 Set export by pragma and fragment names. 1999-04-21 19:12:08 +00:00
kin%netscape.com
12277f312f Added code to track iterator status, and modified first/last/next/prev
methods to set the iterator based on this status.
1999-04-21 14:38:15 +00:00
kin%netscape.com
8c816eb4aa Commented out debugging printfs and added HAVE_EDIT_ACTION_LISTENERS ifdef
to fix build bustage.
1999-04-20 21:54:10 +00:00
jfrancis%netscape.com
c7dd8a6be9 First Checked In. 1999-04-20 21:39:53 +00:00
kin%netscape.com
1d5d418552 Some changes to keep the offset table in sync with editor changes to the DOM. 1999-04-20 17:59:19 +00:00
kin%netscape.com
2a887f14f1 Added nsTSDNotifier.cpp to build list. 1999-04-20 17:57:48 +00:00
kin%netscape.com
18794ac117 Initial checkin of file. 1999-04-20 17:57:20 +00:00
kin%netscape.com
da5a91388e Removed nsITextServicesDocumentInternal.h. 1999-03-31 22:10:42 +00:00
kin%netscape.com
a886d08255 Initial checkin of file. 1999-03-31 19:26:55 +00:00
kin%netscape.com
78383c59cf Initial checkin of files. 1999-03-31 19:25:05 +00:00