Bug 526013 - Wrong label displayed for the Traditional "Cross reference" checkbox
Summary: Wrong label displayed for the Traditional "Cross reference" checkbox
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 9.3.0   Edit
Hardware: All All
: P3 trivial (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-13 12:26 EDT by Anton Krug CLA
Modified: 2020-09-04 15:22 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Krug CLA 2017-10-13 12:26:25 EDT
This commit:

http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=3822ee7b43390ed2176705174e929131f5d64ef8

Added the UI option to enable/disable to disable the cross-reference. Either the file:

memory/org.eclipse.cdt.debug.ui.memory.traditional/src/org/eclipse/cdt/debug/ui/memory/traditional/TraditionalRenderingPreferencePage.java

is not rendering the text properly:
“Show cross reference informationE.g. Variables, Registers”.
Or is using the wrong text for the label:

addField(new BooleanFieldEditor(TraditionalRenderingPreferenceConstants.MEM_CROSS_REFERENCE_INFO, TraditionalRenderingMessages.getString("TraditionalRenderingPreferencePage_ShowCrossRefInfo"), getFieldEditorParent()));

Or the text is not rendered properly:

TraditionalRenderingPreferencePage_ShowCrossRefInfo=Show cross reference information\nE.g. Variables, Registers

TraditionalRenderingPreferencePage_ShowCrossRefInfo_Label=Cross Reference Information

The TraditionalRenderingPreferencePage_ShowCrossRefInfo contains a new line which will not get rendered properly and displayed in one line.