The above example was just for reference. In actuality, I'm getting the line number programmatically, based off line zero being at the top (iirc, that's what's given by the function).
What I actually do is call getLineNumber(), wait a bit, and call it again to get a line range where some particular input I wish to replace has occurred. The replacing happens in a function wrapped by a tempTimer. -- You received this bug notification because you are a member of Mudlet Makers, which is subscribed to Mudlet. https://bugs.launchpad.net/bugs/1172451 Title: Text does not redraw after being replaced Status in Mudlet the MUD client: New Bug description: After replacing text through the replace function, the new text does not re-draw/appear in the buffer unless one of the following occurs: Window resize Clicking the window Incoming text does NOT force a re-draw. An example of usage is as follows: moveCursor(0, line_number) selectCurrentLine() replace("REDACTED \n") moveCursorEnd() The "REDACTED" text will not appear unless the window is resized or clicked. This occurs on OSX 10.8, in the most recent version of Mudlet. To manage notifications about this bug go to: https://bugs.launchpad.net/mudlet/+bug/1172451/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mudlet-makers Post to : [email protected] Unsubscribe : https://launchpad.net/~mudlet-makers More help : https://help.launchpad.net/ListHelp

