{"id":"ui--yuiGraphemeMap","name":"yuiGraphemeMap","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiGraphemeMap","description":"A yui grapheme map record carrying textLength, boundaries, source, diagnostic.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"textLength","kind":"field","type":"int","description":"Stores text length as int.","signature":"int textLength","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"boundaries","kind":"field","type":"list of int","description":"Stores boundaries as list of int.","signature":"list of int boundaries","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"source","kind":"field","type":"text","description":"Stores source as text.","signature":"text source","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"diagnostic","kind":"field","type":"text","description":"Stores diagnostic as text.","signature":"text diagnostic","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiGraphemeMap","kind":"constructor","parameters":[{"name":"textLength","type":"int","description":"Text length."},{"name":"source","type":"text","description":"Source."}],"returns":"void","signature":"yuiGraphemeMap(int textLength, text source)","description":"Yui grapheme map.","tags":["thing","constructor","ui"],"updated":"2026-09-09"},{"name":"RegisterBoundary","kind":"method","parameters":[{"name":"offset","type":"int","description":"Offset."}],"returns":"bool","signature":"RegisterBoundary(int offset) returns bool","description":"Register boundary.","tags":["thing","method","ui"],"exampleId":"method-RegisterBoundary-5","updated":"2026-09-09"},{"name":"HasBoundary","kind":"method","parameters":[{"name":"offset","type":"int","description":"Offset."}],"returns":"bool","signature":"HasBoundary(int offset) returns bool","description":"Has boundary.","tags":["thing","method","ui"],"exampleId":"method-HasBoundary-6","updated":"2026-09-09"},{"name":"Previous","kind":"method","parameters":[{"name":"offset","type":"int","description":"Offset."}],"returns":"int","signature":"Previous(int offset) returns int","description":"Previous.","tags":["thing","method","ui"],"exampleId":"method-Previous-7","updated":"2026-09-09"},{"name":"Next","kind":"method","parameters":[{"name":"offset","type":"int","description":"Offset."}],"returns":"int","signature":"Next(int offset) returns int","description":"Next.","tags":["thing","method","ui"],"exampleId":"method-Next-8","updated":"2026-09-09"},{"name":"ValidationIssue","kind":"method","parameters":[],"returns":"text","signature":"ValidationIssue() returns text","description":"Validation issue.","tags":["thing","method","ui"],"exampleId":"method-ValidationIssue-9","updated":"2026-09-09"},{"name":"Describe","kind":"method","parameters":[],"returns":"text","signature":"Describe() returns text","description":"Describe.","tags":["thing","method","ui"],"exampleId":"method-Describe-10","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/text-definitions.yh","line":6,"sha256":"e1caaa89623be9b30f2bb9a81c77a4babed53f9f452127d047300ef2f5fd3d1c"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use yuiGraphemeMap","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using ui\n\n// Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.\nyuiGraphemeMap sample = yuiGraphemeMap(1, \"example\")\nConsole.Log(Text.From(sample.textLength))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuigraphememap\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"07a18fd3986bb46f5c3c06823811efb7ac1dd9109404390960962072e47cc510","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-RegisterBoundary-5","title":"yuiGraphemeMap.RegisterBoundary","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Register boundary.\nyuiGraphemeMap instance = yuiGraphemeMap(1, \"example\")\nint argument_offset = 1\nbool result = instance.RegisterBoundary(argument_offset)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuigraphememap\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"25767ffc2e8d10c6ab2828bd5408df1606c21d8f05c81884d20e32730a875b7f","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-HasBoundary-6","title":"yuiGraphemeMap.HasBoundary","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Has boundary.\nyuiGraphemeMap instance = yuiGraphemeMap(1, \"example\")\nint argument_offset = 1\nbool result = instance.HasBoundary(argument_offset)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuigraphememap\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"65364def11b04d14a17c12fb0bdb00913f6bdb7da3bdcca1d86228564568a780","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Previous-7","title":"yuiGraphemeMap.Previous","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Previous.\nyuiGraphemeMap instance = yuiGraphemeMap(1, \"example\")\nint argument_offset = 1\nint result = instance.Previous(argument_offset)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuigraphememap\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"718df17930eeed1f49816006e4fb53f838764812b7c3cec5aa0c5a661eea0e30","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Next-8","title":"yuiGraphemeMap.Next","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Next.\nyuiGraphemeMap instance = yuiGraphemeMap(1, \"example\")\nint argument_offset = 1\nint result = instance.Next(argument_offset)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuigraphememap\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"aa4001a125d2117c16945c429a80727db4cbe21c2984365bccb50b0716af6b52","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ValidationIssue-9","title":"yuiGraphemeMap.ValidationIssue","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Validation issue.\nyuiGraphemeMap instance = yuiGraphemeMap(1, \"example\")\ntext result = instance.ValidationIssue()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuigraphememap\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"1e8c4f69c5f411f9f4145c036a789cba47c6d038dbabd65ec2801bf9e4120cea","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-10","title":"yuiGraphemeMap.Describe","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Describe.\nyuiGraphemeMap instance = yuiGraphemeMap(1, \"example\")\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuigraphememap\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"669afcb7d57dd4690775fa05d6ea47be66fd224053aa15e43d88d7d54053121e","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["textLength","boundaries","source","diagnostic","yuiGraphemeMap","RegisterBoundary","HasBoundary","Previous","Next","ValidationIssue","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiGraphemeMap","json":"https://demonhunterlabs.com/reference/items/ui--yuiGraphemeMap.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiGraphemeMap.md"}
