1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-09 18:56:02 +02:00

Follow up on Bug 453393 - Fix occasional RuntimeException

Change-Id: Ie922ebbeef0105a4ce0e8e7fb9d1898858e4649e
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
This commit is contained in:
Anton Leherbauer 2014-12-18 12:43:08 +01:00
parent f50eae0f94
commit 155a9b45df

View file

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2007, 2010 Wind River Systems, Inc. and others.
* Copyright (c) 2007, 2014 Wind River Systems, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@ -309,7 +309,7 @@ abstract public class AbstractTextCanvasModel implements ITextCanvasModel {
text=""; //$NON-NLS-1$
}
buffer.append(text);
if(line < fSeletionEndLine && !fSelectionSnapshot.getTerminalTextData().isWrappedLine(line))
if(line < fSeletionEndLine && !fSelectionSnapshot.isWrappedLine(line))
buffer.append('\n');
}
return buffer.toString();