Home
last modified time | relevance | path

Searched refs:Editor (Results 1 – 25 of 136) sorted by relevance

123456

/third_party/skia/modules/skplaintexteditor/src/
Deditor.cpp47 void Editor::markDirty(TextLine* line) { in markDirty()
53 void Editor::setFont(SkFont font) { in setFont()
61 void Editor::setWidth(int w) { in setWidth()
70 Editor::TextPosition Editor::getPosition(SkIPoint xy) { in getPosition()
71 Editor::TextPosition approximatePosition; in getPosition()
91 return Editor::TextPosition{i, j}; in getPosition()
124 SkRect Editor::getLocation(Editor::TextPosition cursor) { in getLocation()
126 cursor = this->move(Editor::Movement::kNowhere, cursor); in getLocation()
146 Editor::TextPosition Editor::insert(TextPosition pos, const char* utf8Text, size_t byteLen) { in insert()
150 pos = this->move(Editor::Movement::kNowhere, pos); in insert()
[all …]
/third_party/flutter/skia/experimental/editor/
Deditor.cpp47 void Editor::markDirty(TextLine* line) { in markDirty()
53 void Editor::setFont(SkFont font) { in setFont()
61 void Editor::setWidth(int w) { in setWidth()
70 Editor::TextPosition Editor::getPosition(SkIPoint xy) { in getPosition()
71 Editor::TextPosition approximatePosition; in getPosition()
91 return Editor::TextPosition{i, j}; in getPosition()
124 SkRect Editor::getLocation(Editor::TextPosition cursor) { in getLocation()
126 cursor = this->move(Editor::Movement::kNowhere, cursor); in getLocation()
146 Editor::TextPosition Editor::insert(TextPosition pos, const char* utf8Text, size_t byteLen) { in insert()
150 pos = this->move(Editor::Movement::kNowhere, pos); in insert()
[all …]
Deditor_application.cpp58 static editor::Editor::Movement convert(sk_app::Window::Key key) { in convert()
60 case sk_app::Window::Key::kLeft: return editor::Editor::Movement::kLeft; in convert()
61 case sk_app::Window::Key::kRight: return editor::Editor::Movement::kRight; in convert()
62 case sk_app::Window::Key::kUp: return editor::Editor::Movement::kUp; in convert()
63 case sk_app::Window::Key::kDown: return editor::Editor::Movement::kDown; in convert()
64 case sk_app::Window::Key::kHome: return editor::Editor::Movement::kHome; in convert()
65 case sk_app::Window::Key::kEnd: return editor::Editor::Movement::kEnd; in convert()
66 default: return editor::Editor::Movement::kNowhere; in convert()
83 editor::Editor fEditor;
84 editor::Editor::TextPosition fTextPos{0, 0};
[all …]
Deditor.h26 class Editor {
75 TextPosition move(Editor::Movement move, Editor::TextPosition pos) const;
130 static inline bool operator==(const editor::Editor::TextPosition& u,
131 const editor::Editor::TextPosition& v) {
134 static inline bool operator!=(const editor::Editor::TextPosition& u,
135 const editor::Editor::TextPosition& v) { return !(u == v); }
137 static inline bool operator<(const editor::Editor::TextPosition& u,
138 const editor::Editor::TextPosition& v) {
DREADME.md1 # Editor # chapter
3 This is an experimental Editor layer that abstracts out SkShaper text layeout
4 for easy embedding into an application. The Editor layer is agnostic about the
13 | |Editor |
/third_party/skia/modules/skplaintexteditor/app/
Deditor_application.cpp22 using SkPlainTextEditor::Editor;
61 static Editor::Movement convert(skui::Key key) { in convert()
63 case skui::Key::kLeft: return Editor::Movement::kLeft; in convert()
64 case skui::Key::kRight: return Editor::Movement::kRight; in convert()
65 case skui::Key::kUp: return Editor::Movement::kUp; in convert()
66 case skui::Key::kDown: return Editor::Movement::kDown; in convert()
67 case skui::Key::kHome: return Editor::Movement::kHome; in convert()
68 case skui::Key::kEnd: return Editor::Movement::kEnd; in convert()
69 default: return Editor::Movement::kNowhere; in convert()
94 Editor fEditor;
[all …]
/third_party/typescript/tests/baselines/reference/
DlistFailure.js2 module Editor {
45 var Editor; variable
46 (function (Editor) { argument
58 Editor.Buffer = Buffer;
62 Editor.ListRemoveEntry = ListRemoveEntry;
66 Editor.ListMakeHead = ListMakeHead;
70 Editor.ListMakeEntry = ListMakeEntry;
88 Editor.Line = Line;
89 })(Editor || (Editor = {}));
DstaticMethodReferencingTypeArgument1.js2 module Editor {
20 var Editor; variable
21 (function (Editor) { argument
35 Editor.List = List;
36 })(Editor || (Editor = {}));
DclassTypeParametersInStatics.js2 module Editor {
37 var Editor; variable
38 (function (Editor) { argument
64 Editor.List = List;
65 })(Editor || (Editor = {}));
DgenericClassWithStaticFactory.js2 module Editor {
145 var Editor; variable
146 (function (Editor) { argument
234 Editor.List = List;
266 Editor.ListFactory = ListFactory;
267 })(Editor || (Editor = {}));
DstaticMethodReferencingTypeArgument1.types2 module Editor {
3 >Editor : typeof Editor
DstaticMethodReferencingTypeArgument1.symbols2 module Editor {
3 >Editor : Symbol(Editor, Decl(staticMethodReferencingTypeArgument1.ts, 0, 0))
DlistFailure.types2 module Editor {
3 >Editor : typeof Editor
DclassTypeParametersInStatics.types2 module Editor {
3 >Editor : typeof Editor
DclassTypeParametersInStatics.symbols2 module Editor {
3 >Editor : Symbol(Editor, Decl(classTypeParametersInStatics.ts, 0, 0))
DlistFailure.symbols2 module Editor {
3 >Editor : Symbol(Editor, Decl(listFailure.ts, 0, 0))
/third_party/skia/experimental/sktext/editor/
DEditor.cpp10 std::unique_ptr<Editor> Editor::Make(std::u16string text, SkSize size) { in Make()
11 return std::make_unique<Editor>(text, size); in Make()
14 Editor::Editor(std::u16string text, SkSize size) in Editor() function in skia::editor::Editor
54 void Editor::update() { in update()
71 bool Editor::moveCursor(skui::Key key) { in moveCursor()
109 void Editor::onPaint(SkSurface* surface) { in onPaint()
117 void Editor::onResize(int width, int height) { in onResize()
127 bool Editor::onChar(SkUnichar c, skui::ModifierKey modi) { in onChar()
147 bool Editor::deleteElement(skui::Key key) { in deleteElement()
178 bool Editor::insertCodepoint(SkUnichar unichar) { in insertCodepoint()
[all …]
DEditor.h25 class Editor : public sk_app::Window::Layer {
27 static std::unique_ptr<Editor> Make(std::u16string text, SkSize size);
28 static std::unique_ptr<Editor> MakeDemo(SkScalar width, SkScalar height);
30 Editor(std::u16string text, SkSize size);
31 ~Editor() override = default;
DApp.cpp28 std::unique_ptr<Editor> fLayer;
36 fLayer = Editor::MakeDemo(fWindow->width(), fWindow->height()); in init()
/third_party/skia/modules/skplaintexteditor/include/
Deditor.h24 class Editor {
73 TextPosition move(Editor::Movement move, Editor::TextPosition pos) const;
128 static inline bool operator==(const SkPlainTextEditor::Editor::TextPosition& u,
129 const SkPlainTextEditor::Editor::TextPosition& v) {
132 static inline bool operator!=(const SkPlainTextEditor::Editor::TextPosition& u,
133 … const SkPlainTextEditor::Editor::TextPosition& v) { return !(u == v); }
135 static inline bool operator<(const SkPlainTextEditor::Editor::TextPosition& u,
136 const SkPlainTextEditor::Editor::TextPosition& v) {
/third_party/skia/modules/skplaintexteditor/
DREADME.md1 # Editor # chapter
3 This is an experimental Editor layer that abstracts out SkShaper text layeout
4 for easy embedding into an application. The Editor layer is agnostic about the
13 | |Editor |
/third_party/python/Lib/idlelib/idle_test/
Dtest_editor.py10 Editor = editor.EditorWindow variable
30 e = Editor(root=self.root)
109 cls.window = Editor(root=cls.root)
192 cls.window = Editor(root=cls.root)
/third_party/rust/crates/codespan/codespan-reporting/examples/
Dpeg_calculator.rs15 use rustyline::Editor;
42 let mut editor = Editor::<()>::new(); in main()
/third_party/skia/experimental/sktext/
DBUILD.gn107 "editor/Editor.cpp",
125 "editor/Editor.cpp",
/third_party/skia/include/private/
DSkPathRef.h87 class Editor {
89 Editor(sk_sp<SkPathRef>* pathRef,
93 ~Editor() { SkDEBUGCODE(fPathRef->fEditorsAttached--;) } in ~Editor()

123456