OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 PassRefPtrWillBeRawPtr<Range> selectedRange(); | 194 PassRefPtrWillBeRawPtr<Range> selectedRange(); |
195 | 195 |
196 void addToKillRing(Range*, bool prepend); | 196 void addToKillRing(Range*, bool prepend); |
197 | 197 |
198 void pasteAsFragment(PassRefPtrWillBeRawPtr<DocumentFragment>, bool smartRep
lace, bool matchStyle); | 198 void pasteAsFragment(PassRefPtrWillBeRawPtr<DocumentFragment>, bool smartRep
lace, bool matchStyle); |
199 void pasteAsPlainText(const String&, bool smartReplace); | 199 void pasteAsPlainText(const String&, bool smartReplace); |
200 | 200 |
201 Element* findEventTargetFrom(const VisibleSelection&) const; | 201 Element* findEventTargetFrom(const VisibleSelection&) const; |
202 | 202 |
203 bool findString(const String&, FindOptions); | 203 bool findString(const String&, FindOptions); |
204 // FIXME: Switch callers over to the FindOptions version and retire this one
. | |
205 bool findString(const String&, bool forward, bool caseFlag, bool wrapFlag, b
ool startInSelection); | |
206 | 204 |
207 PassRefPtrWillBeRawPtr<Range> findStringAndScrollToVisible(const String&, Ra
nge*, FindOptions); | 205 PassRefPtrWillBeRawPtr<Range> findStringAndScrollToVisible(const String&, Ra
nge*, FindOptions); |
208 | 206 |
209 const VisibleSelection& mark() const; // Mark, to be used as emacs uses it. | 207 const VisibleSelection& mark() const; // Mark, to be used as emacs uses it. |
210 void setMark(const VisibleSelection&); | 208 void setMark(const VisibleSelection&); |
211 | 209 |
212 void computeAndSetTypingStyle(StylePropertySet* , EditAction = EditActionUns
pecified); | 210 void computeAndSetTypingStyle(StylePropertySet* , EditAction = EditActionUns
pecified); |
213 | 211 |
214 IntRect firstRectForRange(Range*) const; | 212 IntRect firstRectForRange(Range*) const; |
215 | 213 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 | 299 |
302 inline bool Editor::markedTextMatchesAreHighlighted() const | 300 inline bool Editor::markedTextMatchesAreHighlighted() const |
303 { | 301 { |
304 return m_areMarkedTextMatchesHighlighted; | 302 return m_areMarkedTextMatchesHighlighted; |
305 } | 303 } |
306 | 304 |
307 | 305 |
308 } // namespace blink | 306 } // namespace blink |
309 | 307 |
310 #endif // Editor_h | 308 #endif // Editor_h |
OLD | NEW |