View unanswered posts | View active topics



Reply to topic  [ 7 posts ] 
Auto-indent hangs program 
Author Message
Member

Joined: Mon Nov 01, 2010 1:27 pm
Posts: 24
Location: Lund, Sweden
Reply with quote
Pressing Ctrl+Shift+2 hangs the program.

It happens when I have a project open, and open an .as file not in the project and try to perform auto-indent on that file.
Version 5.0.1.3

_________________
---
ActionScript enthusiast
&
Media Producer
at
ZetaDisplay.com


Thu Jun 25, 2015 9:52 am
Profile WWW
Admin

Joined: Tue Aug 30, 2005 6:14 pm
Posts: 3046
Location: Finland
Reply with quote
Thanks for reporting, does this happen with all non project .as files?


Thu Jun 25, 2015 10:10 pm
Profile WWW
Member

Joined: Mon Nov 01, 2010 1:27 pm
Posts: 24
Location: Lund, Sweden
Reply with quote
So far this has happened with all non-project .as files I've tried to auto-indent.
Only 3 files so far, so not any great statistics.

No problems so far with files that are in the active project though.


Edit:
Same thing happens when no project is open.

_________________
---
ActionScript enthusiast
&
Media Producer
at
ZetaDisplay.com


Mon Jun 29, 2015 7:06 am
Profile WWW
Member

Joined: Mon Nov 01, 2010 1:27 pm
Posts: 24
Location: Lund, Sweden
Reply with quote
I've added one of the files I've previously tried to auto-indent to a new project as Document class, but it still hangs.

The only thing I can think of that could cause it in this .as file is inline-XML ?
Could something like this cause it?

Code:
public function getFunInfo(spotEditor:Object):XML {
         
  _editor = funEditor;

  return XML( 
  <spotinfo>

    <options thumbnail="80"/>
    <step title="Text">

      <content guid={GUIDs.IEditText}>
        <value>Text</value>
        <editordata>
          <caption>Text</caption>
          <target>target.text</target>
        </editordata>
      </content>

      <content guid={GUIDs.IEditMultiline}>
        <value>Text</value>
        <editordata>
          <caption>Text</caption>
          <func>funcCall</func>
          <target>hunter.text</target>
        </editordata>
      </content>
    </step>

  </spotinfo>
  );
}

_________________
---
ActionScript enthusiast
&
Media Producer
at
ZetaDisplay.com


Tue Jun 30, 2015 8:38 am
Profile WWW
Admin

Joined: Tue Aug 30, 2005 6:14 pm
Posts: 3046
Location: Finland
Reply with quote
I will have a look at this.


Mon Jul 20, 2015 11:02 am
Profile WWW
Admin

Joined: Tue Aug 30, 2005 6:14 pm
Posts: 3046
Location: Finland
Reply with quote
I could not reproduce this issue with the latest dev version, could you try it?


Tue Jul 21, 2015 5:27 pm
Profile WWW
Member

Joined: Mon Nov 01, 2010 1:27 pm
Posts: 24
Location: Lund, Sweden
Reply with quote
Long time since you replied to me here Mika. Sorry I didn't reply back. From what I recall the problem persisted then.


But I would just like to report that I tried doing auto-indent (Ctrl+Shift+2) in an XML-file just now and FlashDevelop hangs.
Running version 5.2.0.3.
I got the XML validated here http://www.xmlvalidation.com/ so it should be fine. It's ~560 rows long.
Tried add the XML file to a project and run the indent there and I've tried running the file opened on it's own without any project. Still the same issue.

Running Win 7 Pro.
FlashDevelop installed on my C drive and my work files on my D drive (sepperate disks).

Could it be related to version of Java? I've got more than one version installed.

_________________
---
ActionScript enthusiast
&
Media Producer
at
ZetaDisplay.com


Tue Oct 04, 2016 2:51 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.