OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2011 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 2895 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2906 Vector<String> Editor::dictationAlternativesForMarker(const DocumentMarker* mark er) | 2906 Vector<String> Editor::dictationAlternativesForMarker(const DocumentMarker* mark er) |
2907 { | 2907 { |
2908 return m_alternativeTextController->dictationAlternativesForMarker(marker); | 2908 return m_alternativeTextController->dictationAlternativesForMarker(marker); |
2909 } | 2909 } |
2910 | 2910 |
2911 void Editor::applyDictationAlternativelternative(const String& alternativeString ) | 2911 void Editor::applyDictationAlternativelternative(const String& alternativeString ) |
2912 { | 2912 { |
2913 m_alternativeTextController->applyDictationAlternative(alternativeString); | 2913 m_alternativeTextController->applyDictationAlternative(alternativeString); |
2914 } | 2914 } |
2915 | 2915 |
2916 void Editor::toggleOverwriteModeEnabled() | |
2917 { | |
2918 m_overwriteModeEnabled = !m_overwriteModeEnabled; | |
esprehn
2013/06/12 19:25:30
I'd prefer we didn't store the overwrite mode stat
svillar
2013/06/13 08:53:06
So there is a reason for having these two states w
| |
2919 frame()->selection()->setShouldShowBlockCursor(m_overwriteModeEnabled); | |
2920 }; | |
2921 | |
2916 } // namespace WebCore | 2922 } // namespace WebCore |
OLD | NEW |