← Back to team overview

mudlet-makers team mailing list archive

[Bug 1228163] [NEW] cinsertText() makes simple "highlight triggers" not align

 

Public bug reported:

Mudlet 2.1 for windows in Window 7 professional 64bit

when using cinsertText() (and probably insertText() too) all simple highlights (simple meaning triggers with the option "highlight" ticked and not by selectString highlighting) get displaced/moved back by the string length of what is inserted.
In the attachment you can see a rune description being inserted "(raido: return location)", "Babel" being highlighted by selectString and the rest of the highlights being off place. What was supposed to be highlighted: "gold" instead of "hip", "Ashtan" instead of "a smi", "east" instead of "mana" and "monolith" instead of "of a sm".

** Affects: mudlet
     Importance: Undecided
         Status: New

** Attachment added: "visual of cinsertText() and following off alignment highlights"
   https://bugs.launchpad.net/bugs/1228163/+attachment/3831466/+files/cinsertText%28%29%20highlight%20bug.png

-- 
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/1228163

Title:
  cinsertText() makes simple "highlight triggers" not align

Status in Mudlet the MUD client:
  New

Bug description:
  Mudlet 2.1 for windows in Window 7 professional 64bit

  when using cinsertText() (and probably insertText() too) all simple highlights (simple meaning triggers with the option "highlight" ticked and not by selectString highlighting) get displaced/moved back by the string length of what is inserted.
  In the attachment you can see a rune description being inserted "(raido: return location)", "Babel" being highlighted by selectString and the rest of the highlights being off place. What was supposed to be highlighted: "gold" instead of "hip", "Ashtan" instead of "a smi", "east" instead of "mana" and "monolith" instead of "of a sm".

To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/1228163/+subscriptions


Follow ups

References