GoogleCloudPlatform / GoogleCloudPlatform/google-cloud-eclipse

Figure out sensible bolding/markup strategy for MissingComponentPage

Open
#1,000 0 comments 0 reactions 0 assignees View on GitHub
cleanup priority: p4
Dominant language
Java
Stars
90
Forks
52
PR merge metrics
No merged PRs in 30d

Description

i.e. not single quotes. Is anyone using this?

int startIndex = message.indexOf("\'"); //$NON-NLS-1$
int endIndex = message.indexOf("\'", startIndex + 1); //$NON-NLS-1$
if ((-1 < startIndex) && (startIndex < endIndex)) {
StyleRange styleRange = new StyleRange();
styleRange.start = startIndex + 1;
styleRange.length = endIndex - startIndex;
styleRange.fontStyle = SWT.BOLD;
styledText.setStyleRange(styleRange);
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.