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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 PassRefPtrWillBeRawPtr<Range> selectedRange(); | 193 PassRefPtrWillBeRawPtr<Range> selectedRange(); |
194 | 194 |
195 void addToKillRing(Range*, bool prepend); | 195 void addToKillRing(Range*, bool prepend); |
196 | 196 |
197 void pasteAsFragment(PassRefPtrWillBeRawPtr<DocumentFragment>, bool smartRep
lace, bool matchStyle); | 197 void pasteAsFragment(PassRefPtrWillBeRawPtr<DocumentFragment>, bool smartRep
lace, bool matchStyle); |
198 void pasteAsPlainText(const String&, bool smartReplace); | 198 void pasteAsPlainText(const String&, bool smartReplace); |
199 | 199 |
200 Element* findEventTargetFrom(const VisibleSelection&) const; | 200 Element* findEventTargetFrom(const VisibleSelection&) const; |
201 | 201 |
202 bool findString(const String&, FindOptions); | 202 bool findString(const String&, FindOptions); |
203 // FIXME: Switch callers over to the FindOptions version and retire this one
. | |
204 bool findString(const String&, bool forward, bool caseFlag, bool wrapFlag, b
ool startInSelection); | |
205 | 203 |
206 PassRefPtrWillBeRawPtr<Range> findStringAndScrollToVisible(const String&, Ra
nge*, FindOptions); | 204 PassRefPtrWillBeRawPtr<Range> findStringAndScrollToVisible(const String&, Ra
nge*, FindOptions); |
207 | 205 |
208 const VisibleSelection& mark() const; // Mark, to be used as emacs uses it. | 206 const VisibleSelection& mark() const; // Mark, to be used as emacs uses it. |
209 void setMark(const VisibleSelection&); | 207 void setMark(const VisibleSelection&); |
210 | 208 |
211 void computeAndSetTypingStyle(StylePropertySet* , EditAction = EditActionUns
pecified); | 209 void computeAndSetTypingStyle(StylePropertySet* , EditAction = EditActionUns
pecified); |
212 | 210 |
213 IntRect firstRectForRange(Range*) const; | 211 IntRect firstRectForRange(Range*) const; |
214 | 212 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 | 298 |
301 inline bool Editor::markedTextMatchesAreHighlighted() const | 299 inline bool Editor::markedTextMatchesAreHighlighted() const |
302 { | 300 { |
303 return m_areMarkedTextMatchesHighlighted; | 301 return m_areMarkedTextMatchesHighlighted; |
304 } | 302 } |
305 | 303 |
306 | 304 |
307 } // namespace blink | 305 } // namespace blink |
308 | 306 |
309 #endif // Editor_h | 307 #endif // Editor_h |
OLD | NEW |