Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes related to TISTUD-2679 Unhandled event loop exception Java he…
…ap space crash and freeze when editing large file
- Loading branch information
1 parent
e6d73d6
commit 693b203
Showing
5 changed files
with
54 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
plugins/com.aptana.editor.erb/src/com/aptana/editor/erb/html/parsing/RubyParseRootNode.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/** | ||
* Aptana Studio | ||
* Copyright (c) 2005-2012 by Appcelerator, Inc. All Rights Reserved. | ||
* Licensed under the terms of the GNU Public License (GPL) v3 (with exceptions). | ||
* Please see the license.html included with this distribution for details. | ||
* Any modifications to this file must keep this entire header intact. | ||
*/ | ||
package com.aptana.editor.erb.html.parsing; | ||
|
||
import beaver.Symbol; | ||
|
||
import com.aptana.parsing.ast.ParseRootNode; | ||
import com.aptana.ruby.core.IRubyConstants; | ||
|
||
/** | ||
* @author cwilliams | ||
*/ | ||
public class RubyParseRootNode extends ParseRootNode | ||
{ | ||
|
||
protected RubyParseRootNode(int start, int end) | ||
{ | ||
super(new Symbol[0], start, end); | ||
} | ||
|
||
public String getLanguage() | ||
{ | ||
return IRubyConstants.CONTENT_TYPE_RUBY; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters