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

 
 

bug #16323: Map editor crashes when editing scripts

Submitted by:  None
Submitted on:  Tue 11 Apr 2006 06:05:41 PM UTC  
 
Severity: 3 - NormalStatus: Fixed
Assigned to: NoneOpen/Closed: Closed
Release: NoneOperating System: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 File(s):
   
   
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

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

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

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 14 Apr 2006 01:47:01 PM UTCsnthStatusConfirmed=>Fixed
  Open/ClosedOpen=>Closed
Thu 13 Apr 2006 11:41:14 PM UTCsnthAttached File-=>Added GUITextArea.cpp.patch, #9784
Thu 13 Apr 2006 09:41:59 PM UTCsnthStatusNone=>Confirmed

Back to the top


Powered by Savane 3.1-cleanup1