← Back to team overview

mudlet-makers team mailing list archive

Re: [Bug 1102002] [NEW] wrapLine() causes line duplication

 

wrapline() must not be used in trigger context because when the trigger 
scripts are being run, no line wrapping has been performed nor can line 
wrapping be performed at this point.

-> no bug

Am 20.01.2013 09:42, schrieb Vadim Peretokin:
> Public bug reported:
>
> wrapLine() causes lines to be duplicated. For example, adding this to a
> trigger:
>
> cinsertText("\nhi\n")
> wrapLine(getLineNumber())
>
> Will cause this:
>
> hi
> hi
>
> ** Affects: mudlet
>       Importance: Undecided
>           Status: New
>

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

Title:
  wrapLine() causes line duplication

Status in Mudlet the MUD client:
  New

Bug description:
  wrapLine() causes lines to be duplicated. For example, adding this to
  a trigger:

  cinsertText("\nhi\n")
  wrapLine(getLineNumber())

  Will cause this:

  hi
  hi

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


Follow ups

References