diff options
author | Felipe Heidrich <fheidric> | 2005-10-25 17:37:09 +0000 |
---|---|---|
committer | Felipe Heidrich <fheidric> | 2005-10-25 17:37:09 +0000 |
commit | 4a5479b6edb8a4ade9bed381a71082ad4e65f8a7 (patch) | |
tree | e0f421bdef9c685ffc736641d1e81c7ee0cbc690 | |
parent | 1f2cbbd66eba0524c25783a240f6a0fdeb0243e7 (diff) | |
download | eclipse.platform.swt-4a5479b6edb8a4ade9bed381a71082ad4e65f8a7.tar.gz eclipse.platform.swt-4a5479b6edb8a4ade9bed381a71082ad4e65f8a7.tar.xz eclipse.platform.swt-4a5479b6edb8a4ade9bed381a71082ad4e65f8a7.zip |
*** empty log message ***
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText2.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText2.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText2.java index 0c6d03c0a9..bc8802b789 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText2.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText2.java @@ -5095,7 +5095,7 @@ void handleMouseDown(Event event) { mouseDoubleClick = false; //force focus (object support) - setFocus(); + forceFocus(); if (event.button == 2) { String text = (String)getClipboardContent(DND.SELECTION_CLIPBOARD); @@ -7387,6 +7387,7 @@ public void setStyleRange(StyleRange range) { if (range.isVariableLineHeight()) { if (!isFixedLineHeight()) { lineCache.setAllLinesDefaultHeight(); + //TODO DOESN'T SET PARTIAL HEIGHT } setVariableLineHeight(); } |