mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-29 09:47:50 +08:00
Markdown fix
This commit is contained in:
parent
5b57b10c57
commit
3c9acade72
@ -35,14 +35,11 @@ represents the contents of a text file loaded into memory, and possibly opened i
|
|||||||
text editor. Line breaks in the document text are always normalized as single \n characters,
|
text editor. Line breaks in the document text are always normalized as single \n characters,
|
||||||
and are converted to proper format when the document is saved.
|
and are converted to proper format when the document is saved.
|
||||||
[Document] (https://github.com/JetBrains/intellij-community/blob/master/platform/core-api/src/com/intellij/openapi/editor/Document.java)
|
[Document] (https://github.com/JetBrains/intellij-community/blob/master/platform/core-api/src/com/intellij/openapi/editor/Document.java)
|
||||||
can be obtained by calling
|
can be obtained by calling ```Document document = editor.getDocument();```
|
||||||
```Document document = editor.getDocument();
|
|
||||||
```
|
|
||||||
|
|
||||||
##Models
|
##Models
|
||||||
Different services for controlling and getting information about visible areas the editor can be accessible set of getters, e.g.
|
Different services for controlling and getting information about visible areas the editor can be accessible set of getters, e.g.
|
||||||
```final SelectionModel selectionModel = editor.getSelectionModel();
|
```final SelectionModel selectionModel = editor.getSelectionModel();```
|
||||||
```
|
|
||||||
|
|
||||||
Editor model classes are located in
|
Editor model classes are located in
|
||||||
[editor] (https://github.com/JetBrains/intellij-community/tree/master/platform/editor-ui-api/src/com/intellij/openapi/editor)
|
[editor] (https://github.com/JetBrains/intellij-community/tree/master/platform/editor-ui-api/src/com/intellij/openapi/editor)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user