Permalink
Browse files

synchronized methods cause deadlocks now that document is synchronized

  • Loading branch information...
1 parent 0f70e32 commit b16089b3e8b95e276f86155c743884f8efedf844 @JPMoresmau committed Feb 14, 2014
View
1 docs/releasenotes/net.sf.eclipsefp.haskell_2.6.0.txt
@@ -16,6 +16,7 @@ Fixes:
- Do not allow rename while usage building is running (https://github.com/JPMoresmau/eclipsefp/issues/154)
- Do not make popups too small (https://sourceforge.net/p/eclipsefp/discussion/371922/thread/2eec0c41/?limit=25#b636)
- LINE Pragmas that do not start the line are handled correctly (https://github.com/JPMoresmau/eclipsefp/issues/161)
+ - Support Arrow syntax (https://github.com/JPMoresmau/BuildWrapper/issues/23)
Features:
- Support benchmark stanzas in cabal files (https://github.com/JPMoresmau/eclipsefp/issues/109)
View
4 ...l.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/haskell/text/ScionTokenScanner.java
@@ -138,7 +138,7 @@ public int getTokenOffset() {
}
@Override
- public synchronized IToken nextToken() {
+ public IToken nextToken() {
do {
if (tokenDefs!=null && tokenDefs.hasNext()){
@@ -307,7 +307,7 @@ private void addTokenOccurence(final String s,final int offset,int end,final Tok
}
@Override
- public synchronized void setRange( final IDocument document, final int offset, final int length ) {
+ public void setRange( final IDocument document, final int offset, final int length ) {
currentTokenDef = null;
// currentToken=null;

0 comments on commit b16089b

Please sign in to comment.