Dot과 Mark는 텍스트 에디터나 워드 프로세서에서 캐럿을 구현하는 데 사용되는 용어이다.

Dot과 Mark의 의미는 다음과 같다.

일반적으로 Dot(type:int), DotBias(type:enum), Mark(type:int), MarkBias(type:enum) 네 가지 요소로 구현된다.

예)
0904.png
[PNG image (172.59 KB)]


예)
https://bits.netbeans.org/10.0/javadoc/org-netbeans-modules-editor-lib2/org/netbeans/api/editor/caret/EditorCaret.html
Class EditorCaret
org.netbeans.api.editor.caret

java.lang.Object
org.netbeans.api.editor.caret.EditorCaret
All Implemented Interfaces: Caret

Type / Method
172329.png
[PNG image (28.72 KB)]


int getDot()
Get dot offset of the last created caret in the underlying document.

Position.Bias getDotBias()
Get a bias of the dot position which is either Position.Bias.Forward or Position.Bias.Backward depending on whether the caret biases towards the next character or previous one.

int getMark()
Get mark offset of the last created caret in the underlying document.

Position.Bias getMarkBias()
Get a bias of the mark position which is either Position.Bias.Forward or Position.Bias.Backward depending on whether the caret biases towards the next character or previous one.



Retrieved from http://hyacinth.byus.net/moniwiki/wiki.php/텍스트 에디터에서 Dot과 Mark의 의미
last modified 2024-09-04 18:35:41