Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-08-07Bug 564891 - Delete org.eclipse.jface.util.Assert andY20200807-1200I20200808-0230I20200807-1800Lars Vogel3-196/+25
org.eclipse.jface.text.Assert as announced via Bug 528191 Change-Id: I1edff700fc9283c48ba66f3a52fa2dcabcfb72cc Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-08-07Bug 72773: store and navigate multiple edit history locationsAri Kast21-89/+1252
This expands existing "last edit location" navigation to now store an ordered queue of multiple last edit locations. The size of the list is configurable (currently set at 15). Once the list is filled, each new location insertion evicts the oldest location to make room for the new. Thus only the last 15 edit locations are ever stored. To avoid wasting list space on multiple similar locations in close proximity to each other, similar edit locations (as determined by a parameterized proximity function) are merged to a single location. Ctrl+Q key mapping still navigates to the last edit location same as before. However, now continuing to hold ctrl and then pressing Q again begins the traversal thru history of prior edit locations. Once traversal stops, future Ctrl+Q actions are now temporarily anchored to this older historical location. M3+Ctrl+Q conversely moves the anchor forward thru edit history, so after traversing backward with Ctrl+Q, you can go forward again by repeatedly pressing Alt/Opt+Ctrl+Q. New edit locations are always inserted at the end of the queue, so that insertion order is always maintained. Insertion of a new edit location also resets the last location "anchor" back to the most recent edit, so that pressing Ctrl+Q once again brings you to the most recent edit rather than a historical one. Change-Id: I885e209b9d9300f8e6226e6cdf64616751ead944
2020-08-06Update the Eclipse formatter to latest version inY20200806-1200I20200806-1800Lars Vogel2-6/+95
org.eclipse.ui.workbench.texteditor Change-Id: I1271afec729e6aff6dd34215d4d908b8d31ae08d Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-08-06Bug 565208: Remove calls to Color.disposeLars Vogel1-10/+0
Change-Id: Ib76ba1c77774832f4ef1303d29dd3cdee56fb27e Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-08-06Use assertThrows rather than ExpectedException.Alexander Kurtakov1-10/+4
Which is deprecated. Change-Id: I75b27bc0ca5c93effedf5a68d6297ff81a00cf1b Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-08-06Use jdk 5 for-each loopCarsten Hammer14-81/+60
Replace simple uses of Iterator with a corresponding for-loop. Change-Id: I786236ff2c37a6455015a5b8fab866f1165531c4 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2020-08-06Remove no longer needed API filters.Alexander Kurtakov3-82/+0
Change-Id: I0634e6c56c058c23b0807caa00bf0d93adc6d110 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-08-06Version bump for 4.17 streamAlexander Kurtakov2-2/+2
Needed by https://git.eclipse.org/r/c/platform/eclipse.platform.text/+/166460 Change-Id: I8c2fe9633213fd28faedb581d1804ebc5132d63f Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-08-03Bug 564863 - Add cause to thrown IAEY20200805-1200Y20200804-1200I20200805-1800I20200805-0750I20200805-0630I20200804-1800I20200803-1800Karsten Thoms1-2/+2
4.17 version update for org.eclipse.jface.text Change-Id: I410a18ff93ccb72608cfca089129b0d7f60dd99f Signed-off-by: Karsten Thoms <karsten.thoms@karakun.com>
2020-08-03Bug 564929 - Delete line shortcut does not delete last editor linePierre-Yves B.1-1/+11
Change-Id: Iae0321abdfc297a41e8abeaee481e6cfbbc5e1c4 Signed-off-by: Pierre-Yves B. <PyvesDev@gmail.com>
2020-07-31Bug 565208: Remove calls to Color.disposeY20200801-1200I20200803-0210I20200801-1800I20200801-0010I20200731-2040I20200731-1800Lars Vogel4-90/+7
As these calls are no longer needed, remove the calls and related code around such dispose that is also now redundant. Change-Id: Ifd82694346e546185768256eba526027f5bd9f4f
2020-07-31[Bug 565465] Remove ISharedTextColors#dispose for colorsI20200731-0520Lars Vogel2-12/+3
Change-Id: Ic318c0aef9fc05f3d88602657a6426467dcbaa4e Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-07-304.17 update of org.eclipse.core.filebuffers.testsI20200730-1800Lars Vogel2-2/+2
Change-Id: Ia2cfc95766cf44da73b5dac5a84efc83f06e72ee Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-07-30Use jdk 5 for-each loopCarsten Hammer4-27/+11
Replace simple uses of Iterator with a corresponding for-loop. Change-Id: Icd8bece67419539eddf137f58bd3d233cac36905 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2020-07-304.17 update of org.eclipse.text.testsLars Vogel2-2/+2
For https://git.eclipse.org/r/c/platform/eclipse.platform.text/+/166459 Change-Id: I4f7fccab1320c18d1369b56b148968ae6657c33e Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-07-27Revert "Bug 565368 - Update org.eclipse.search to Java 11"Y20200729-1200Y20200729-0630Y20200728-0600I20200729-1800I20200729-0120I20200728-1800I20200728-1120Lars Vogel6-46/+18
API filter added This reverts commit e47758780567222021a0d1d98185a0f716bafc3f. Change-Id: I2cacfb8ed78a10e555c6a40acc518c11c9db92bd Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-07-24Bug 565465 - Remove ISharedTextColors#dispose for colorsY20200727-0310Y20200725-1200I20200727-1800I20200726-1800I20200724-1800Lars Vogel1-2/+6
Change-Id: I71d9f69b301d2ce766db8cb2acb8329248cd521f Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-07-24Method reference in jface.text instead of lambdaI20200724-0600Lars Vogel3-5/+5
Done via JDT cleanup Change-Id: Id95cfc6281565a7196551b7290533da237b7e9cb Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-07-23Bug 565368 - Update org.eclipse.search to Java 11I20200723-1800I20200723-1030Lars Vogel5-11/+47
As minimum runtime of platform is Java 11 it is good to have at least one bundle to require Java 11 in platform itself (so far only Jetty requires it) to ensure that our build works fine with Java 11. Using search as this allow us to use StringBuilders in the matcher. Change-Id: I7ca95f724b2fcc563247150024c9d356d25570ff Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-07-23Bug 565208: Remove calls to Color.disposeLars Vogel1-15/+2
Change for org.eclipse.jface.text/src/org/eclipse/jface/text/AbstractInformationControl.java Change-Id: Id47bed57ba52b6c4bfba0d8b1062bacb930e639a Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-07-21Enable save actions for texeditor.testsY20200722-1200Y20200722-0040I20200723-0620I20200722-1800I20200722-1140I20200722-0610I20200721-1800Lars Vogel1-0/+71
This will avoid issues like https://git.eclipse.org/r/c/platform/eclipse.platform.text/+/166530/1/org.eclipse.ui.workbench.texteditor.tests/src/org/eclipse/ui/workbench/texteditor/tests/TextEditorPluginTest.java Change-Id: I1f0b01e0b788357338370f16390edf45a034397d Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-07-214.17 update for org.eclipse.ui.workbench.texteditor.testsY20200721-0610I20200721-1400I20200721-0950I20200721-0610Lars Vogel2-2/+2
Required for https://git.eclipse.org/r/c/platform/eclipse.platform.text/+/166531 Change-Id: Ie28089c960d3f77d734c2db47d5e863ec6bf39be Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-07-144.17 update for org.eclipse.textY20200721-0450Y20200718-1200Y20200716-0820Y20200715-1200I20200721-0130I20200720-1800I20200720-0850I20200720-0020I20200719-2010I20200718-1800I20200717-1800I20200716-1800I20200715-1800I20200714-1800Lars Vogel1-1/+1
Required for https://git.eclipse.org/r/c/platform/eclipse.platform.text/+/165786 Change-Id: Iddab089c4e74cea2e90d7051be9a636759feb86f
2020-07-01Bug 564305 - fixed unsorted filtered proposals on incremental completeY20200711-1200Y20200708-1200Y20200704-1200Y20200703-0300S4_17_0_M1I20200713-2230I20200713-1800I20200712-1800I20200711-2250I20200711-1800I20200710-1800I20200710-0230I20200708-1800I20200708-0600I20200707-1800I20200707-0600I20200706-2300I20200706-1800I20200706-0600I20200705-1800I20200705-0710I20200705-0600I20200704-1800I20200704-0600I20200703-1800I20200702-2150I20200702-1800Julian Honnen7-32/+182
On incremental completion with async content assist and insert common prefix enabled, the proposal order in fFilteredProposals did not match the displayed order, causing unexpected proposals to be inserted. The fComputedPropsals list will not be sorted in this scenario, so it can't be used to overwrite fFilteredProposals. fFilteredProposals seems to be always initialized by computeAndPopulateProposals anyway. Change-Id: I0da117281502b0a11ea462a38e129e3c59c252f1 Signed-off-by: Julian Honnen <julian.honnen@vector.com>
2020-06-12[Bug 550832] Remove gif which we left during the move to png filesY20200701-1200Y20200701-0020Y20200629-1000Y20200629-0740Y20200624-1200Y20200622-0340Y20200620-1200Y20200617-2350Y20200617-1200Y20200617-1040Y20200617-0510Y20200617-0320I20200701-2350I20200701-2210I20200701-1800I20200701-0330I20200630-1800I20200629-1800I20200628-1800I20200626-1800I20200625-1800I20200624-1800I20200623-1800I20200623-1010I20200622-1800I20200621-1800I20200620-1800I20200619-1800I20200618-1800I20200617-1800I20200616-1800I20200616-0620I20200616-0320I20200616-0140I20200615-1800I20200614-1800I20200613-1800I20200612-1800I20200612-0650Lars Vogel1-0/+0
Change-Id: Icd587a0ce9dbf845c3f32d6af8207e3b9863d67e Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-06-12[Bug 550832] Remove gif which we left during the move to png filesLars Vogel12-0/+0
Change-Id: I2c694f85273dbbb1a12a021155c67f76b4b10afc Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-06-09Bug 564063 - Using ArrayContentProvider.getInstance() instead of newI20200612-0400I20200611-1800I20200610-1800I20200609-1800Lars Vogel7-7/+8
instance ArrayContentProvider does not hold any data, hence it can be shared across instances. Change-Id: I2defc10db7bdb8f3a2083e59f335743915d92f88 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-06-09Bug 564099 - Improve font handling while zoomingJohn Taylor1-30/+36
Adjusts the zooming behavior to always zoom all "related" fonts at once, rather than making exceptions for user overridden settings. Change-Id: I92aed1bc4d5fa2a032c3a35ebe7aebb319f20974 Signed-off-by: John Taylor <johnpaultaylorii@gmail.com>
2020-06-094.17 update of org.eclipse.ui.editorsLars Vogel0-0/+0
For https://git.eclipse.org/r/#/c/164285/ Change-Id: I62f19768783ada8bfde92fceabf4e64a58b83508
2020-06-094.17 update for org.eclipse.searchLars Vogel1-1/+1
Required for https://git.eclipse.org/r/164285 Change-Id: Ic6893a43b99fd6c5aaff13e3dbc435b1108dfcd2
2020-06-09Bug 533429 - [printing] Add date to print headerAlexander Kurtakov1-1/+1
Version bump for 4.17 stream. Change-Id: Ib548f4e4a7e028666edef8f9af0c1730ad8b9c2d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-06-08Bug 533429 - [printing] Add date to print headerI20200609-0150I20200608-1800Paul Pazderski1-1/+4
Change-Id: I81a384b64ee997dcda2917502a05132e86a5480f Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2020-06-08Bug 563708 - Removes compiler warning of potential nullLars Vogel1-1/+3
Change-Id: I3ba707ebf73fffd53eabd970930dfac5dce8d282
2020-06-07Bug 563708 - Replace layout call on parent with requestLayout call inI20200607-1800Lars Vogel1-1/+1
StatusTextEditor Change-Id: If403df579a05e4c6ce64057f328ac2058c68ae96 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-06-074.17 update of org.eclipse.ui.workbench.texteditorLars Vogel1-1/+1
Required for https://git.eclipse.org/r/#/c/163832/ Change-Id: Idada6455f1acfc67ae6da235299d2cca9f0db9ab Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-06-04Bug 563840 - POM and product version change for 4.17 releaseI20200606-1800I20200606-0940I20200606-0910I20200606-0700I20200606-0400I20200606-0050I20200605-2140I20200605-1500I20200605-1230I20200605-1200I20200605-1150I20200605-0950I20200605-0910I20200605-0720Sravan Kumar Lakkimsetti11-13/+13
Change-Id: I3a76e89178819f169a2e7eb1e4b23c3f4e65f371 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2020-05-26Bug 563464 - Add test suite for DefaultTextDoubleClickStrategyY20200609-2100Y20200609-0150Y20200528-0030S4_16_0_RC2S4_16_0_RC1R4_16I20200604-0540I20200603-0600I20200602-1800I20200602-0600I20200602-0510I20200602-0010I20200601-1800I20200601-0640I20200601-0140I20200531-1800I20200531-0600I20200530-0600I20200529-0550I20200528-0200I20200528-0000I20200527-1800I20200527-0600I20200526-1800I20200526-0600R4_16_maintenanceSebastian Ratz2-0/+53
Add initial set of tests regarding underscore handling in typical programming language kind of words. Change-Id: I25eb171c0bcf7af1a02b0aa70b0965d7fc2cd39d
2020-05-26Bug 552134 - org.eclipse.rcp misses dependency to org.eclipse.jface.textAlexander Kurtakov1-0/+6
Add api filter for removed @Deprecated . Change-Id: If6649e9770a302df9d0ca4db5f2a7151600cf923 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-05-25Revert "Bug 552134: org.eclipse.rcp misses dependencies"I20200525-1800Matthias Becker1-3/+0
This reverts commit df9dfa9ffc21130c92f18bfe7b9a268121780c36. Change-Id: I9c00a927eb1a580cb2535d225715f5c4caa759a4
2020-05-22Bug 563123 - double-click strategy behaves differently since removal ofI20200525-0640I20200524-1800I20200524-0850I20200524-0600I20200524-0220I20200523-1800I20200523-0600I20200522-1800Alexander Kurtakov2-2/+4
icu Revert to using ICU4J BreakIterator for 4.16 release as there is no time to come with fixes for the change in behavior. Change-Id: I906e0f6db6b323cd653f643f5c2d01100a021c3b Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-05-19Bug 553462 - Ctrl+3 misses some text search resultsS4_16_0_M3I20200521-1000I20200520-1800I20200520-0600I20200519-1800Mickael Istria8-47/+1130
This is caused by the default max line height being too small. Change-Id: I94801e62f48aa62e9b65293233ceed79faa8f11f Signed-off-by: Mickael Istria <mistria@redhat.com>
2020-05-01Bug 34747 - [MenuMgmt] Go To Last Editor Position incorrectly enabledI20200519-1130I20200519-1010I20200518-2220I20200518-1800I20200516-0600I20200515-1930I20200514-1800I20200513-1800I20200512-1800I20200511-1800I20200511-0700I20200510-1800I20200509-1800I20200509-0600I20200509-0450I20200506-1800I20200505-1800I20200504-1800I20200503-1800I20200502-1800Paul Pazderski1-1/+2
Change-Id: Ifd9eea8c1c4b2df058bef3669c044d6023db0e13 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2020-04-28Bug 561990 - Remove dependency on icu from platform.textY20200430-0210Y20200429-0730Y20200428-2310I20200501-1800I20200501-0520I20200429-1800I20200429-0600I20200428-2300I20200428-1800I20200428-0630I20200428-0610Alexander Kurtakov2-11/+13
Some missed cases. Change-Id: Ic6c2b6e96a5a1cc58356697679bb6a148e7adcac Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-04-21Use switch over strings where possibleY20200428-0250Y20200428-0140Y20200427-2330I20200428-0230I20200427-1800I20200426-1800I20200425-1800I20200424-1800I20200424-0540I20200423-1800I20200422-1800I20200421-1800Carsten Hammer4-26/+56
Change cascades of ifs which can be converted to switch over Strings. A switch statement might be faster than an if-then-else chain. And it improves clarity. The problem with if..else chain is that I have to look into all the if conditions to understand what the program is doing. And the variable might change in the chain processing. Change-Id: I936f634408bce4b867ca8794debe1a12500e0de6 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2020-04-21Bug 562365 - Build with tycho 1.7.0Alexander Kurtakov1-1/+1
Switch pomless in platform.text Change-Id: I947b28d6c96a236fd6b4291b191d1fca4157e47d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-04-14Bug 562086 - Use copy-on-write data structures to improve performanceI20200420-1800I20200419-1800I20200418-1800I20200417-1800I20200416-1800I20200416-0410I20200415-1800I20200415-0620Sebastian Zarnekow1-16/+8
Over the lifecycle of a document, many more document events are processed than modifications happen to the registered position updaters. Therefore it is beneficial to avoid a defensive copy on each read but use a CopyOnWriteArrayList instead to allow iteration while concurrently modifying the position updaters. The change does also contain a little bit of cleanup when working with the instance field fPositionUpdaters within AbstractDocument. Change-Id: Id09b72ef70c872530aab6dd01c5e64abc4fbfb6c Signed-off-by: Sebastian Zarnekow <sebastian.zarnekow@gmail.com>
2020-04-11Bug 553640 - [code mining] bad char location when mixing headers&inlineI20200415-0200I20200414-1010I20200414-0630I20200413-1800I20200412-1800I20200411-1800Mickael Istria5-5/+62
Change-Id: I16dbdcafb0577346fe3494652141d33c3858b9ea Signed-off-by: Mickael Istria <mistria@redhat.com>
2020-04-10Bug 561990 - Remove dependency on icu from platform.textI20200411-0950I20200411-0720I20200411-0510I20200411-0300I20200410-2300I20200410-1800Alexander Kurtakov38-73/+44
JVM classes do the same for our needs. Change-Id: I4734167c5f113baf1e4fef8cceed88618857a1c4 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-04-10Version update for 4.16Alexander Kurtakov1-1/+1
Needed for https://git.eclipse.org/r/#/c/160765/ Change-Id: I83edbb18087689b3e72bd3711a00ce5400007a2a Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-04-09Bug 561916 - Remove com.ibm.icu.text from org.eclipse.core.filebuffersLars Vogel2-3/+1
Change-Id: I321f576c27d331970cfc3f08198529620fc78f9e Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>

Back to the top