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 Status:  Fixed
Assigned to:  None Open/Closed:  Closed
Release:  None Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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

 

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

Attach Files:
   
   
Comment:
   

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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.

 

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.13-758e.
Corresponding source code