Skip to main content
AgeCommit message (Collapse)AuthorFilesLines
2020-01-17Use lambdas where possibleY20200120-0020I20200120-0445I20200120-0355I20200120-0115I20200119-2330I20200119-1800I20200118-1800I20200117-1800Lars Vogel3-55/+27
Using the batch cleanup operation via Source -> Cleanup -> "Use lambdas where possible" from standard JDT. Change-Id: I609127e1d7267230c8741a155b81e4b004d7ee15 Signed-off-by: Lars Vogel <>
2019-09-10Bug 550396 - Speed up OverviewRulerThomas Wolf2-2/+139
OverviewRuler computed the full pixel height of the full text, which is expensive if the widget doesn't have a fixed line height, for instance when word-wrapping is enabled. However, OverviewRuler is interested in this value only if it is strictly smaller than the height of the editor canvas. Speed up the computation by stopping if the summed pixel height of lines becomes larger than the height of the canvas. Includes of 4.14 version update Change-Id: Iace27158689a4ffb4a345124cfa46cc4c4260f06 Signed-off-by: Thomas Wolf <>
2019-06-17Remove redundant blockLars Vogel1-14/+10
Change-Id: I01d785405a51605a19429bcd9560232530fc51c1 Signed-off-by: Lars Vogel <>
2019-06-13Use jdk 5 for-each loopI20190614-0330I20190613-1800Carsten Hammer1-3/+4
Replace simple uses of Iterator with a corresponding for-each loop. Also add missing braces on loops as necessary. Change-Id: Ibde37d56a7962f432ed771f4a215f5903161bde0 Signed-off-by: Carsten Hammer <>
2019-06-11Use StringBuilder instead of StringBuffer where possible.Carsten Hammer1-1/+1
Change-Id: Ifee0c0b2ecbdaad31ea628c4fbe87cec89897012 Signed-off-by: Carsten Hammer <>
2019-05-02Bug 546828 - Editors based on FileDocumentProvider /Andrey Loskutov3-5/+376
TextFileDocumentProvider lock UI on attempt to edit while build is running The change modifies FileDocumentProvider.getValidateStateRule() and DocumentProviderOperation created in TextFileDocumentProvider.validateState() to return non-null rule (referenced IFile) for IFileEditorInput's if the IResourceRuleFactory.validateEditRule() has no rule for us. This prevents UI freeze on attempt to modify a file while build is running. Instead of a freeze, we get a progress dialog with a possibility to cancel the (blocking) attempt to modify the file. Change-Id: I23a6ddab2ca8f31b5ba134301356c34250f5087c Signed-off-by: Andrey Loskutov <>
2019-02-12Bug 544315 - DocumentProviderRegistry: also try IPath to get extensionThomas Wolf2-0/+85
Make getDocumentProvider(IEditorInput) try a little harder by trying to figure out an IPath from the editor input and use the extension of that path, if one can be determined. Change-Id: I6426e0e9fa09b71bd472d5ca545d1333c17323ce Signed-off-by: Thomas Wolf <>
2018-08-21Bug 530393 - EPL 2.0 update for platform.text test bundlesLars Vogel10-30/+60
Update all sources files except .exsd files, Java pref files and pom files Regex used: git checkout master git reset --hard origin/master git pull find . -type f ! -name "*.exsd" ! -name "org.eclipse.jdt.ui.prefs" -exec sed -i 's/Eclipse Public License v1.0/Eclipse Public License 2.0/g' {} + find . -type f ! -name "*.exsd" ! -name "org.eclipse.jdt.ui.prefs" -exec sed -i -E 's/([[:blank:]]*[^[:blank:]])*([[:blank:]]*)http:\/\/\/legal\/epl-v10.html/\1\2https:\/\/\/legal\/epl-2.0\/\ \1\ \1\2SPDX-License-Identifier: EPL-2.0/' {} + # Get rid of the All rights reserved find . -type f ! -name "*.exsd" ! -name "org.eclipse.jdt.ui.prefs" ! -name "pom.xml" -exec sed -i -E 's/([[:blank:]]*[^[:blank:]])*([[:blank:]]*)(All rights reserved. )/\1\n\1\2/' {} + Change-Id: Ib0696b0bfadec3d64cdc0064d35fb952e3953055 Signed-off-by: Lars Vogel <>
2017-02-19Bug 320672 - added copyright header for new fileI20170220-2000I20170219-2000Andrey Loskutov1-0/+11
Change-Id: I3d2f4dfbe9d96ff1724bfdee67f8b303427c3029 Signed-off-by: Andrey Loskutov <>
2017-02-19Bug 320672 - [WorkbenchParts] [Compatibility] SWTException whenAndrey Loskutov2-1/+119
activating an editor with stale content This is the second part of the fix for bug 320672, the first one is covered by bug 511873. Remember if we are in the middle of the focus state change. During this operation we should not attempt to call updatePartControl() from sanityCheckState() (which is called on part activation) because it can dispose widgets we are currently setting focus to. In theory, this can happen from other protected methods here too, but I'm trying to keep the patch as small as possible because this class is a base class for MANY other text editors. Change-Id: Ibb860eac30986b6ed3a155f809dc58c9db082ff1 Signed-off-by: Andrey Loskutov <> Also-by: Vasili Gulevich <>
2017-01-11Bug 510312 - Replace usage of new Integer(int) with Integer.valueOf() inLars Vogel1-1/+1
eclipse.platform.text plug-ins - Part 1 Change-Id: I8cd43f97a0e3d4ea32e11a2b3cf8898b6be3bc5c Signed-off-by: Lars Vogel <>
2016-10-22Bug 506367 - EditorsTestSuite is leaking state between testsY20161027-1250Y20161027-1000Y20161024-2045Y20161024-1300Y20161024-0700I20161027-0700I20161027-0200I20161026-2000I20161026-1100I20161026-0800I20161025-2000I20161024-2000I20161024-1000I20161024-0410I20161023-2000Stefan Xenos8-77/+114
Wait for the job manager and SWT event queue to be idle before advancing to the next test. Change-Id: I8647ce00680e168d69785ba5d2e3988ac07abaaf Signed-off-by: Stefan Xenos <>
2016-09-23Bug 482354 - SVN checkout deadlocks EclipseAndrey Loskutov2-1/+397
FileDocumentProvider.refreshFile(IFile) is called from UI thread but in worst case (if the IFile is out-of-sync with file system state) it acquires workspace lock for refreshing the resource state. If at same time any workspace job holding a lock on a parent project will try to use IOConsoleOutputStream.write(String) to report lot of data (> 160000 characters) to the console, the IOConsolePartitioner.streamAppended() call will block forever waiting for queue processed by the (locked) UI thread. Proposed solution: FileDocumentProvider.refreshFile(IFile) should run DocumentProviderOperation in providers runnable context to avoid such deadlocks. In the case the resource tree is locked, a "User Operation is Waiting" progress dialog will be shown, giving the user a chance to resolve the deadlock situation by canceling one of the affected tasks. To be consistent with existing API and to allow clients override the supplied refresh rule, new API is introduced in FileDocumentProvider: protected ISchedulingRule.getRefreshRule(Object element). Default implementation in FileDocumentProvider uses ResourceRuleFactory.refreshRule for given file. Change-Id: Id742d98403cc546fad4a21d25eb18ab7bef48776 Signed-off-by: Andrey Loskutov <>
2016-07-08Bug 497588 - Remove trailing whitespace fromLars Vogel5-11/+11
org.eclipse.ui.editors.tests Change-Id: I488687a56771a9f3d626fccde0b08477312d8369 Signed-off-by: Lars Vogel <>
2016-04-04Bug 487095: Move test bundles to JUnit 4Y20160407-1000I20160405-0800Markus Keller1-7/+7
- implement JUnitSourceSetup as ExternalResource - clean up test suites - update manifests - use @Rule TestName to access test method names FindReplaceDialogTest: - fix test order - fix wrong @Before tearDown() Change-Id: Ibae60f592ea81dbbf2fab0db8daf64f92301dcdd
2016-02-05Bug 487152: ZoomTest leaks open editorMarkus Keller1-2/+2
2016-02-05Bug 487152 - ZoomTest leaks open editorMickael Istria1-0/+7
Change-Id: I8301639372e26959bf3a6cc9059a84c5ba83071a Signed-off-by: Mickael Istria <>
2016-02-03Bug 487095 - Move test bundles to JUnit 4Sopot Cela7-120/+82
Change-Id: I1c249f6ccc23850c0cf3e992ff7f5805f44b7585 Signed-off-by: Sopot Cela <>
2016-01-20Bug 484157: Fix computation of fonts to propage zoom actionMickael Istria2-1/+127
Change-Id: I058fff5a7bf3df89b646a15696b8ab79f8eb632d Signed-off-by: Mickael Istria <>
2015-12-01Bug 478673: generify codeI20151201-1100I20151201-0800Markus Keller2-6/+6
2015-12-01Bug 478673: remove unused castsMarkus Keller2-3/+3
2015-12-01Bug 478673: added @Override/@Deprecated and removed non-Javadoc boilerplateMarkus Keller5-18/+14
2015-04-28Bug 465684: Allow initial visible region of 0, 0I20150504-2000I20150503-2000I20150502-1500I20150501-2000I20150430-1445I20150429-2000I20150429-1330I20150429-1230I20150429-1030I20150429-0800I20150428-2000Jonah Graham1-1/+37
Change-Id: I8f79dbf19a4ee9994f545865c499974f0644bd5a Signed-off-by: Jonah Graham <>
2015-02-09Remove unnecessary activator bundleI20150210-0800Dani Megert2-48/+9
2015-01-14Bug 454488: Test failure due to conflicting marker updaters from ↵Sarika Sinha2-25/+42
EditorTestPlugin Signed-off-by: Sarika Sinha <>
2014-11-19Added missing single quotesI20150106-0800I20141230-0800I20141223-0800I20141216-0800I20141210-2000I20141210-0800I20141209-2000I20141209-1115I20141209-0800I20141208-2000I20141208-0800I20141207-2000I20141202-0800I20141125-0800Dani Megert1-2/+2
2014-11-18Fixed bug 440952: Basic Marker Updater should be executed before other ↵Sarika Sinha4-1/+195
contributed markers Signed-off-by: Sarika Sinha <>
2012-11-08Bug 393353: Test failure in EncodingChangeTests on the Hudson Macv20121108-103624Markus Keller1-5/+7
2010-11-01Bug 327842: Key bindings broken in editor when showing statusv20101102-0800Markus Keller1-2/+2
2010-10-30Bug 327842: Key bindings broken in editor when showing statusMarkus Keller1-3/+3
2008-12-31copyright updatesDani Megert4-4/+4
2008-09-11Removed trailing whitespace and organized the importsv20080909-ascuDani Megert5-51/+53
2008-08-26*** empty log message ***Dani Megert1-10/+7
2007-11-01Set fields to null on teadDown().Dani Megert1-2/+3
2007-05-29Updated copyright date.Dani Megert1-1/+1
2007-02-19Fixed bug 99610: [api] add API to file buffers that allows to specify ↵Dani Megert1-1/+2
whether a file is internal or external
2005-08-31Made test more stableDani Megert1-15/+23
2005-06-17Updated copyright date to 2005v20050617-1200Dani Megert5-5/+5
2005-02-25Converted from CPL to EPLDani Megert5-21/+21
2004-10-06Line Tracker FixDani Megert1-1/+1
2004-10-04Register testsDani Megert2-2/+5
2004-09-27Added new testsDani Megert2-0/+298
2004-09-09Updated FileBuffers test suiteKai Maetzel1-4/+4
2004-08-26Removed unused importDani Megert1-3/+7
2004-08-25#70934, added SegmentedModeTestKai Maetzel2-0/+98
2004-08-12add test for case where old value cannot be determined (not supported by ↵Christof Marti1-2/+21
current implementation)
2004-07-27Added org.eclipse.ui.workbench.texteditor and org.eclipse.ui.editors tests ↵Dani Megert1-2/+2
to build
2004-07-12Fix Bug 69419: [implementation] ChainedPreferenceStoreChristof Marti2-0/+136
- also remove assertions and thrown IAE and provide fallbacks in these cases - tests
2004-04-22Added test.xml and test suiteDani Megert1-0/+28

    Back to the top