Thread Tools Display Modes
08-17-06, 09:37 AM   #1
Kimilly
A Defias Bandit
Join Date: Nov 2005
Posts: 2
Multiline Note in TOC causes lockup/crash

I created a new project and in the Description section of the project, it allowed me to enter a multiline description. When I reloaded the project, it crashed. Editing the .toc manually and moving it all back to one line fixed the crash.

Example .toc to cause crash (as generated by the program):

## Interface: 11100
## Title: MyAddon
## Author:
## Version:
## Notes: This is a multiline note.

Here is the second line.
## RequiredDeps:
## DefaultState: Enabled
## LoadOnDemand: 0
MyAddon.lua
  Reply With Quote
08-30-06, 11:41 PM   #2
Nulkris
A Cobalt Mageweaver
 
Nulkris's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2005
Posts: 214
This is fixed somewhat in the latest .9 release, just by stripping newlines before saving. It is a bit more difficult to not have a multiline EditBox not accept newlines at all.
__________________
Nulkris - A80 Rogue - Proudmoore
(Also Drukris, Hamkris on Proudmoore; Hulkris on Jubei'Thos & Khaz Modan)
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Multiline Note in TOC causes lockup/crash

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off