diff --git a/simpledisplay.d b/simpledisplay.d index 7a678a6..bacbc3e 100644 --- a/simpledisplay.d +++ b/simpledisplay.d @@ -813,8 +813,6 @@ interface->SetProgressValue(hwnd, 40, 100); +/ module arsd.simpledisplay; -import arsd.core; - // FIXME: tetris demo // FIXME: space invaders demo // FIXME: asteroids demo @@ -1162,6 +1160,8 @@ unittest { // FIXME: space invaders demo // FIXME: asteroids demo +import arsd.core; + version(OSX) version(DigitalMars) version=OSXCocoa; version(Emscripten) { diff --git a/textlayouter.d b/textlayouter.d index bc51f50..219a1f2 100644 --- a/textlayouter.d +++ b/textlayouter.d @@ -24,6 +24,9 @@ +/ module arsd.textlayouter; +// see: https://harfbuzz.github.io/a-simple-shaping-example.html + + // FIXME: unicode private use area could be delegated out but it might also be used by something else. // just really want an encoding scheme for replaced elements that punt it outside.. @@ -347,6 +350,15 @@ public struct Selection { return this; } + /++ + Gets the current user coordinate, the point where they explicitly want the caret to be near. + + History: + Added January 24, 2025 + +/ + Point getUserCoordinate() { + return impl.virtualFocusPosition; + } /+ Moving the internal position +/