bugGlobulation 2 - Bugs: bug #16323, Map editor crashes when editing...

 
 

bug #16323: Map editor crashes when editing scripts

Submitter:  None
Submitted:  Tue 11 Apr 2006 06:05:41 PM UTC
   
 
Severity:  3 - Normal Priority:  5 - Normal
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Operating System:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Thu 13 Apr 2006 11:41:14 PM UTC, comment #1: 

I have made a patch to fix "GUITextArea.cpp"

Now "TextArea::load" uses the minimum of "text.length()" and the
old "cursorPos" to determine the new "cursorPos".

But I can't access cvs. Someone else must apply it.

Kai Antweiler <snth>
Group administrator
Tue 11 Apr 2006 06:05:41 PM UTC, original submission:  

Summary of problem:

When the cursor position in a script is in the middle or towards the end of a script, and you load a previously saved script that is shorter than the current script, the editor crashes saying that the cursor position is not valid.

Simple fix:

Make the editor set the cursor position to zero when loading a script.

Anonymous

 

Attached Files

Attached Files
file #9784:  GUITextArea.cpp.patch added by snth (80B - application/octet-stream)

(Note: upload size limit is set to 4.0MiB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

 

Votes

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

History

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-04-14 snth StatusConfirmed Fixed
    Open/ClosedOpen Closed
2006-04-13 snth Attached File- Added GUITextArea.cpp.patch, #9784
2006-04-13 snth StatusNone Confirmed

Back to the top

Powered by Savane 3.16-2753.
Corresponding source code