Home
last modified time | relevance | path

Searched refs:getStyleRanges (Results 1 – 25 of 75) sorted by relevance

123

/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/dialogs/
H A DResourceItemLabelTest.java75 compareStyleRanges(atBeginning, getStyleRanges("te", "test.txt"), "test.txt", ""); in testSubstringMatch()
78 compareStyleRanges(full, getStyleRanges("test.txt", "test.txt"), "test.txt", ""); in testSubstringMatch()
81 compareStyleRanges(withDigits, getStyleRanges("t3s", "t3st.txt"), "t3st.txt", ""); in testSubstringMatch()
115 compareStyleRanges(questionMark, getStyleRanges("t?st", "test.txt"), "test.txt", ""); in testPatternMatch()
118 compareStyleRanges(star, getStyleRanges("t*xt", "test.txt"), "test.txt", ""); in testPatternMatch()
121 compareStyleRanges(both, getStyleRanges("t?s*xt", "test.txt"), "test.txt", ""); in testPatternMatch()
135 compareStyleRanges(basic, getStyleRanges("*$", "test$.txt"), "test$.txt", ""); in testBug529451()
152 compareStyleRanges(star, getStyleRanges("M*file ", "MockFile"), "MockFile", ""); in testDisableAutoPrefixMatching()
166 compareStyleRanges(basic, getStyleRanges(".MF", "MANIFEST.MF"), "MANIFEST.MF", ""); in testExtensionMatch()
178 compareStyleRanges(withDigits, getStyleRanges(".3*3", "test.3xx3"), "test.3xx3", ""); in testExtensionMatch()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.jface.tests/src/org/eclipse/jface/tests/viewers/
H A DStyledStringBuilderTest.java60 assertEquals(styledString.getStyleRanges().length, 0); in testEmpty()
72 StyleRange[] styleRanges = styledString.getStyleRanges(); in testAppendString1()
90 StyleRange[] styleRanges = styledString.getStyleRanges(); in testAppendString2()
107 StyleRange[] styleRanges = styledString.getStyleRanges(); in testAppendString3()
125 StyleRange[] styleRanges = styledString.getStyleRanges(); in testAppendString4()
144 StyleRange[] styleRanges = styledString.getStyleRanges(); in testAppendString5()
164 StyleRange[] styleRanges = styledString.getStyleRanges(); in testAppendString6()
184 StyleRange[] styleRanges = styledString.getStyleRanges(); in testAppendString7()
200 StyleRange[] styleRanges = styledString.getStyleRanges(); in testAppendChar1()
218 StyleRange[] styleRanges = styledString.getStyleRanges(); in testAppendChar2()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/
H A DTest_org_eclipse_swt_custom_StyledText.java2654 styles = text.getStyleRanges(); in test_replaceStyleRangesII$Lorg_eclipse_swt_custom_StyleRange()
2657 styles = text.getStyleRanges(); in test_replaceStyleRangesII$Lorg_eclipse_swt_custom_StyleRange()
2660 styles = text.getStyleRanges(); in test_replaceStyleRangesII$Lorg_eclipse_swt_custom_StyleRange()
2663 styles = text.getStyleRanges(); in test_replaceStyleRangesII$Lorg_eclipse_swt_custom_StyleRange()
2672 styles = text.getStyleRanges(); in test_replaceStyleRangesII$Lorg_eclipse_swt_custom_StyleRange()
2682 styles = text.getStyleRanges(); in test_replaceStyleRangesII$Lorg_eclipse_swt_custom_StyleRange()
2690 styles = text.getStyleRanges(); in test_replaceStyleRangesII$Lorg_eclipse_swt_custom_StyleRange()
2696 styles = text.getStyleRanges(); in test_replaceStyleRangesII$Lorg_eclipse_swt_custom_StyleRange()
2705 styles = text.getStyleRanges(); in test_replaceStyleRangesII$Lorg_eclipse_swt_custom_StyleRange()
2715 styles = text.getStyleRanges(); in test_replaceStyleRangesII$Lorg_eclipse_swt_custom_StyleRange()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.text/org.eclipse.ui.workbench.texteditor.tests/src/org/eclipse/ui/workbench/texteditor/tests/minimap/
H A DMinimapWidgetTest.java77 StyleRange[] orginalMinimapStyles = minimapStyledText.getStyleRanges(); in testMinimapSetStyles()
82 Assert.assertArrayEquals(orginalMinimapStyles, minimapStyledText.getStyleRanges()); in testMinimapSetStyles()
95 Assert.assertArrayEquals(expectedRanges, minimapStyledText.getStyleRanges()); in testMinimapSetStylesWithTextPresentation()
103 Assert.assertArrayEquals(expectedRanges, minimapStyledText.getStyleRanges()); in testMinimapSetStylesWithTextPresentation()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui.tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/uistructure/
H A DWidgetLabelProvider.java61 cell.setStyleRanges(s.getStyleRanges()); in update()
69 cell.setStyleRanges(s.getStyleRanges()); in update()
109 cell.setStyleRanges(s.getStyleRanges()); in update()
118 cell.setStyleRanges(s.getStyleRanges()); in update()
156 cell.setStyleRanges(s.getStyleRanges()); in update()
164 cell.setStyleRanges(s.getStyleRanges()); in update()
169 cell.setStyleRanges(s.getStyleRanges()); in update()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/
H A DDelegatingStyledCellLabelProvider.java112 StyleRange[] oldStyleRanges= cell.getStyleRanges(); in update()
113 StyleRange[] newStyleRanges= isOwnerDrawEnabled() ? styledString.getStyleRanges() : null; in update()
H A DViewerCell.java199 public StyleRange[] getStyleRanges() { in getStyleRanges() method in ViewerCell
200 return row.getStyleRanges(columnIndex); in getStyleRanges()
H A DViewerRow.java393 public StyleRange[] getStyleRanges(int columnIndex) { in getStyleRanges() method in ViewerRow
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/about/
H A DAboutTextManager.java264 StyleRange[] ranges = styledText.getStyleRanges(); in getCurrentRange()
280 StyleRange[] ranges = styledText.getStyleRanges(); in findNextRange()
295 StyleRange[] ranges = styledText.getStyleRanges(); in findPreviousRange()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/codemining/
H A DParameterNamesCodeMiningTest.java153 LongSupplier drawnCodeMiningsCount= () -> Arrays.stream(widget.getStyleRanges()).filter(style -> in testMultiLines()
244 … return Arrays.stream(widget.getStyleRanges(widget.getText().indexOf(", 2"), 3)).anyMatch(style -> in testCollapsedFoldingAndToggleHighlight()
253 … return Arrays.stream(widget.getStyleRanges(widget.getText().indexOf(", 2"), 3)).anyMatch(style -> in testCollapsedFoldingAndToggleHighlight()
278 return Arrays.stream(widget.getStyleRanges()) in testCollapsedFoldingAndToggleHighlight()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.e4.ui.dialogs/src/org/eclipse/e4/ui/internal/dialogs/about/
H A DAboutText.java255 StyleRange[] ranges = styledText.getStyleRanges(); in getCurrentRange()
268 StyleRange[] ranges = styledText.getStyleRanges(); in findNextRange()
278 StyleRange[] ranges = styledText.getStyleRanges(); in findPreviousRange()
/dports/games/wesnoth/wesnoth-1.14.17/utils/umc_dev/org.wesnoth.ui/src/org/wesnoth/ui/labeling/wmldoc/
H A DIWMLDocProvider.java50 public StyleRange[] getStyleRanges( ); in getStyleRanges() method
H A DWMLDocInformationPresenter.java68 text.setStyleRanges( currentDocProvider_.getStyleRanges( ) ); in createDialogArea()
H A DWMLDocMacro.java111 public StyleRange[] getStyleRanges( ) in getStyleRanges() method in WMLDocMacro
H A DWMLDocTag.java136 public StyleRange[] getStyleRanges( ) in getStyleRanges() method in WMLDocTag
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.debug/org.eclipse.ui.console/src/org/eclipse/ui/console/
H A DIConsoleDocumentPartitioner.java65 StyleRange[] getStyleRanges(int offset, int length); in getStyleRanges() method
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.debug/org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/
H A DIOConsoleTests.java715 StyleRange[] styles = c.getPartitioner().getStyleRanges(0, 1); in testIConsoleDocumentPartitioner()
731 styles = c.getPartitioner().getStyleRanges(0, c.getContentLength()); in testIConsoleDocumentPartitioner()
736 styles = c.getPartitioner().getStyleRanges(5, 20); in testIConsoleDocumentPartitioner()
741 styles = c.getPartitioner().getStyleRanges(loremEnd + 1, 1); in testIConsoleDocumentPartitioner()
746 styles = c.getPartitioner().getStyleRanges(loremEnd, c.getContentLength() - loremEnd); in testIConsoleDocumentPartitioner()
751 styles = c.getPartitioner().getStyleRanges(loremEnd - 3, 5); in testIConsoleDocumentPartitioner()
756 styles = c.getPartitioner().getStyleRanges(loremEnd - 3, 8); in testIConsoleDocumentPartitioner()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/imports/
H A DPluginImportLabelProvider.java45 cell.setStyleRanges(string.getStyleRanges()); in update()
H A DOverwriteProjectsSelectionDialog.java89 cell.setStyleRanges(string.getStyleRanges()); in update()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/
H A DStyledStringHighlighterTest.java172 StyleRange[] actRanges = styledString.getStyleRanges(); in assertHighlightedRegions()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform/ant/org.eclipse.ant.ui/Ant Tools Support/org/eclipse/ant/internal/ui/model/
H A DAntModelLabelProvider.java59 cell.setStyleRanges(str.getStyleRanges()); in update()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.text/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/contentassist/
H A DContextInformationPresenterTest.java121 return ((StyledText) child).getStyleRanges(); in getInfoStyleRanges()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/
H A DSnippet212.java86 StyleRange[] styles = styledText.getStyleRanges(); in main()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/
H A DWelcomeEditor.java191 for (StyleRange range : text.getStyleRanges()) { in findNextLink()
210 StyleRange[] ranges = text.getStyleRanges(); in findPreviousLink()
230 for (StyleRange range : text.getStyleRanges()) { in getCurrentLink()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui.tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/dialogs/
H A DFeatureSelectionDialog.java293 cell.setStyleRanges(styledString.getStyleRanges()); in update()
311 cell.setStyleRanges(styledString.getStyleRanges()); in update()

123