mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-153086 Soft Wraps wrap too early in Distraction Free mode
This commit is contained in:
+1
-1
@@ -1417,7 +1417,7 @@ public class SoftWrapApplianceManager implements Dumpable {
|
||||
* @return <code>true</code> if given <code>'x'</code> coordinate exceeds visual area's right edge; <code>false</code> otherwise
|
||||
*/
|
||||
public boolean exceedsVisualEdge(int x) {
|
||||
return x >= myVisibleAreaWidth;
|
||||
return x > myVisibleAreaWidth || x == myVisibleAreaWidth && !myEditor.myUseNewRendering;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user