mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Bug 356901 - TVT/DVT3.7:TCT102: DAN: Truncation of "Case Insensitive"
This commit is contained in:
parent
dabef579a2
commit
4f80345f71
1 changed files with 5 additions and 2 deletions
|
@ -112,6 +112,9 @@ public class FindReplaceDialog extends SelectionDialog
|
||||||
protected final static String SEARCH_FORMAT_WRAP = "SEARCH_FORMAT_WRAP"; //$NON-NLS-1$
|
protected final static String SEARCH_FORMAT_WRAP = "SEARCH_FORMAT_WRAP"; //$NON-NLS-1$
|
||||||
protected final static String SEARCH_ENABLE_FIND_NEXT = "SEARCH_ENABLE_FIND_NEXT"; //$NON-NLS-1$
|
protected final static String SEARCH_ENABLE_FIND_NEXT = "SEARCH_ENABLE_FIND_NEXT"; //$NON-NLS-1$
|
||||||
|
|
||||||
|
//the width of text fields of Find and Replace, increase it to 400 to fix the tvt defect 356901
|
||||||
|
protected final static int FIND_REPLACE_TEXT_WIDTH = 400;
|
||||||
|
|
||||||
private IAction fFindAction = null;
|
private IAction fFindAction = null;
|
||||||
public FindReplaceDialog(Shell parent, IMemoryBlockExtension memoryBlock, IMemoryRenderingSite memoryView, Properties properties, IAction findAction)
|
public FindReplaceDialog(Shell parent, IMemoryBlockExtension memoryBlock, IMemoryRenderingSite memoryView, Properties properties, IAction findAction)
|
||||||
{
|
{
|
||||||
|
@ -549,7 +552,7 @@ public class FindReplaceDialog extends SelectionDialog
|
||||||
fFindText = new Text(composite, SWT.BORDER);
|
fFindText = new Text(composite, SWT.BORDER);
|
||||||
FormData data = new FormData();
|
FormData data = new FormData();
|
||||||
data.left = new FormAttachment(fReplaceText, 0, SWT.LEFT);
|
data.left = new FormAttachment(fReplaceText, 0, SWT.LEFT);
|
||||||
data.width = 260;
|
data.width = FIND_REPLACE_TEXT_WIDTH;
|
||||||
fFindText.setLayoutData(data);
|
fFindText.setLayoutData(data);
|
||||||
fFindText.setText(fProperties.getProperty(SEARCH_FIND, "")); //$NON-NLS-1$
|
fFindText.setText(fProperties.getProperty(SEARCH_FIND, "")); //$NON-NLS-1$
|
||||||
|
|
||||||
|
@ -567,7 +570,7 @@ public class FindReplaceDialog extends SelectionDialog
|
||||||
data = new FormData();
|
data = new FormData();
|
||||||
data.top = new FormAttachment(replaceLabel, 0, SWT.CENTER);
|
data.top = new FormAttachment(replaceLabel, 0, SWT.CENTER);
|
||||||
data.left = new FormAttachment(replaceLabel);
|
data.left = new FormAttachment(replaceLabel);
|
||||||
data.width = 260;
|
data.width = FIND_REPLACE_TEXT_WIDTH;
|
||||||
fReplaceText.setLayoutData(data);
|
fReplaceText.setLayoutData(data);
|
||||||
fReplaceText.setText(fProperties.getProperty(SEARCH_REPLACE, "")); //$NON-NLS-1$
|
fReplaceText.setText(fProperties.getProperty(SEARCH_REPLACE, "")); //$NON-NLS-1$
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue