Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-02-14Bug 543933 - Build javadocs with Java 11I20190215-0630I20190215-0055I20190214-1800Alexander Kurtakov6-10/+8
Fix warnings catched by java 11 javadoc. (take 3) Change-Id: I6e7fd7d2f60b67dfdfe31e89d80c871cfd6c443f Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-02-14Bug 543933 - Build javadocs with Java 11Alexander Kurtakov1-7/+7
Fix warnings catched by java 11 javadoc. (take 2) Change-Id: Iccf5071777c27d00d2bd06d9301e175b4ce820dc Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-02-13Bug 543933 - Build javadocs with Java 11Y20190213-2200I20190213-1800Alexander Kurtakov3-2/+7
Fix warnings catched by java 11 javadoc. Change-Id: I9e35131d8314575d81c186d5c418b6be5137d46c Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-02-10Bug 518569 - Use StandardCharset constantsI20190210-2135I20190210-1800Karsten Thoms1-1/+2
Also: version bump for 4.11 Change-Id: I7055e6a2ceb521dbe6065888b735ac62caa73ef6 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-09-23Bug 535964 - Move some non UI classes from jface.text to o.e.text.I20180923-1800Sebastian Ratz1-0/+45
Another update to the #equals() implementation. bb4abd131785dc66b2a4da321ded042fd4e37db1 broke equals() in other scenarios. A = org.eclipse.text.templates.TemplatePersistenceData B = org.eclipse.jface.text.templates.persistence.TemplatePersistenceData Properly implement equals() in the super class (A) and in the deprecated subclass (B), such that the symmetric property of equals holds: A.equals(B) B.equals(A) This is ensured by always using B as a dummy and delegating via "ref". In the super type A introduce a new dummy UUID just for equals. This simulates the previous object identity semantics for equals (there can exist multiple *different* templates with identical values). Change-Id: Ia34e7019a54464b6f4d95521eddea8e682e87bf1 Signed-off-by: Sebastian Ratz <sebastian.ratz@sap.com>
2018-09-18Bug 539096 - TemplateContext should implement IAdaptableI20180918-2005I20180918-1800Andrey Loskutov1-1/+12
Change-Id: Ia9af00f7380f72d89122cb2ae1e0f542fdb91a6a Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2018-08-22Bug 530393 - EPL 2.0 update for platform.text plug-ins - Part 2Y20180822-2200I20180823-0100I20180822-2000Lars Vogel125-375/+750
Change-Id: Ib43818885bc5b36db7d4fc0625a125402c595b2f Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-08-07Bug 535964 - Move some non UI classes from jface.text to o.e.text.Y20180808-2200I20180811-1500I20180810-2000I20180810-0320I20180809-2000I20180808-2000Roland Grunberg6-0/+1219
- Create TemplateReaderWriter, TemplatePersistenceData, and ContextTypeRegistry in org.eclipse.text which extend the corresponding classes from org.eclipse.jface.text in order the preserve the API for the latter - Make TemplateStore extend a new class TemplateStoreCore which will be located in org.eclipse.text, and contain the non-UI functionality from TemplateStore - Introduce new constructor to the deprecated TemplatePersistenceData, that takes an org.eclipse.text.templates.TemplatePersistenceData and delegates all API calls to it, if the object was constructed in this manner. Otherwise calls are handled by the inheritted class. In some cases, even though we use the new org.eclipse.text.templates.TemplatePersistenceData, the API requires us to return the deprecated version of TemplatePersistenceData. This satisfies the requirement while also ensuring the returned object can be modified by clients (unlike a copy). Change-Id: I4315693c8c557986d922106b7c1325e23de70725 Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
2018-07-30Bug 109481 - [find/replace] replace doesn't work when using a regex withI20180730-2240I20180730-2000I20180730-0800Kalyan Prasad Tatavarthi1-7/+3
a lookahead or boundary matchers :- Reverting Changes as a result of Bug 537377 Change-Id: I975d326e67f650bc2dddac6948775b3bb3fbdf5a Signed-off-by: Kalyan Prasad Tatavarthi <kalyan_prasad@in.ibm.com>
2018-07-18Bug 536952 - Avoid QuickDiff re-enabling in DocumentRewriteSessionEventEtienne Reichenbach1-1/+1
* Only resume the DocumentLineDiffer if if was previously suspended by a DocumentRewriteSessionEvent. * Add a null check at AbstractDocument.stopRewriteSession(DocumentRewriteSession) to avoid a NullPointerException if startRewriteSession is not called before calling stopRewriteSession. The javadoc of stopRewriteSession says "This method has only any effect if startRewriteSession has been called before.", without the null-check the method had an effect if startRewriteSession was not called before, namely an NPE. Change-Id: Ia6f92c686c934e1c7cbb514e2c32ac055b557935 Signed-off-by: Etienne Reichenbach <etienner@gmail.com>
2018-06-11[Sonar] Removes dead stored variablesJonas Hungershausen1-2/+0
see https://sonar.eclipse.org/drilldown/issues/33533?rids%5B%5D=33542&rule=findbugs%3ADLS_DEAD_LOCAL_STORE&rule_sev=CRITICAL&severity=CRITICAL Change-Id: I81091332e090cd8baa36204d25256d6df77bdf42 Signed-off-by: Jonas Hungershausen <jonas.hungershausen@vogella.com>
2018-04-30Improve some constructs for performanceMickael Istria5-17/+17
Issues reported by SonarQube: * iterating on keySet() instead of entrySet() or values() * String += in a loop Change-Id: I3dec0e683305ab3382605168c0505d5ce2bcc35e Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-03-16Bug 532557 - add line information to BadLocationExceptionI20180317-1500Andrey Loskutov1-3/+6
Change-Id: I74a18b81fe55d44e199578d481bfcc113a8db7a6 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2018-02-13Bug 531084 - Inefficient use of keySet iterator instead of entrySetI20180214-2000I20180213-2000Lars Vogel1-4/+3
iterator in AbstractDocument Change-Id: I8756ba5c5360feea7f2a6f575aa1bf7b5d2ada53 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-01-31Bug 528191 - Mark org.eclipse.jface.util.Assert andI20180201-0200I20180131-2000Lars Vogel1-0/+3
org.eclipse.jface.text.Assert for deletion Change-Id: Ic30b864955166366cc96525f40588313c344859a Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2017-07-13Bug 109481 - [find/replace] replace doesn't work when using a regex withfingerl1-3/+7
a lookahead or boundary matchers Fixes the bug that matches of a Regular Expression containing lookarounds can't replaced. Change-Id: Ibaf347fbe88b9d9aac14240f67bf5cbb7567e82b Signed-off-by: fingerl <imelflorianingerl@gmail.com>
2017-06-21Removes unnecessary @See Javadoc annotations in org.eclipse.text inI20170621-2000Lars Vogel11-144/+0
org.eclipse.text.edits package Change-Id: If34734c741547e96dd9dc446cb85a89582b99489 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2017-06-21Removes training white space in org.eclipse.textLars Vogel13-17/+17
Change-Id: I4c83b262c6c6a1834d35652e06961addffd03461 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2017-06-21Bug 516535 - Replace StringBuffer with StringBuilder inLars Vogel14-30/+30
eclipse.platform.text Change-Id: Ia7089d167c24489674565e8bbb08d33773ac8445 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2017-02-03Bug 493304 - Prefer usage of enhanced for loop in eclipse.platform.textLars Vogel15-130/+81
repo This change is for the for org.eclipse.text plug-in Change-Id: I9a02ba945e91d7e1361627239c3617010453c571 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2017-02-02Bug 493306 - Inefficient use of keySet iterator instead of entrySetLars Vogel2-8/+9
iterator in eclipse.text Change-Id: I5f43ac955ca602846b2f3680b2e63023e1c23368 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2017-01-11Bug 510312 - Replace usage of new Integer(int) with Integer.valueOf() inLars Vogel1-1/+1
eclipse.platform.text plug-ins - Part 2 Change-Id: I3d76285a2e3333114ba56b7cd0745d13440d5a44 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2017-01-09Bug 510030 - Add toString() to Line and TextSelectionI20170111-0200I20170110-2000I20170109-2000Andrey Loskutov1-0/+5
Change-Id: Idc8d4bd0224d1a84932e02a9914bf1f59fe56580 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2016-10-14Fixed bug 505958: [implementation] ↵Y20161020-1000Y20161018-1100I20161018-0800Dani Megert1-5/+7
org.eclipse.jface.text.TextUtilities.getDefaultLineDelimiter(IDocument) can return null
2016-03-21Fixed bug 489715: [templates] Insert template does not add default valueY20160324-1000I20160322-0800Noopur Gupta1-1/+1
of word_selection and line_selection templates Change-Id: Ib798ad28e296aed6d986b242368215f3776a60a5 Signed-off-by: Noopur Gupta <noopur_gupta@in.ibm.com>
2016-03-18Document that a document always has at least one lineDani Megert1-4/+7
2016-03-18Fixed bug 487671: [templates] Fix Javadoc for WordSelection template variableDani Megert1-2/+2
2016-02-25Added missing Javadoc for public constructorDani Megert1-3/+8
2016-02-24Bug 487901 - [templates] Create base class for adjust word_selection andLars Vogel1-43/+26
line_selection variable to avoid code duplication Change-Id: I905c56a7f59e5779f5445fc0d274cdf2189c9887 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2016-02-10Bug 487327 - [templates] Allow specifying a default value in caseI20160216-1400I20160216-0800Lars Vogel2-2/+25
the line_selection is empty Still WIP, awaiting feedback from Dani for https://bugs.eclipse.org/bugs/show_bug.cgi?id=486903#c18 Change-Id: I6868dced6122a5479d9f786be6f8955011fbec82 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2016-02-09Bug 486903 - [Templates] Clarifies the usage of word_selection defaultsLars Vogel1-1/+1
Change-Id: I51158e66bd4cf1cff947bc794cc295cdfec819e2 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2016-02-09Improved word_selection descriptionDani Megert1-1/+1
2016-02-09Bug 486903 - [Templates] Allow specifying a default value in case theI20160209-0800Lars Vogel2-2/+27
word_selection is empty Change-Id: I5a5c2e77f65aa45474362838aa71fc351779dcd7 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2016-01-27FUP to bug 486532: don't use bold inside textI20160127-0800Dani Megert1-1/+1
2016-01-26Fixed bug 486532: Provide better info for date variable proposalI20160126-2000Dani Megert1-1/+1
2016-01-25Added hint to use 'date' variable if custom formatting is desiredI20160126-0800I20160125-2000Dani Megert1-2/+2
2016-01-23Bug 75981: [templates][preferences] Allow to specify format of date variable ↵Jeremie Bresson2-4/+43
in templates https://bugs.eclipse.org/bugs/show_bug.cgi?id=75981 Change-Id: I8d1e2661d8698e47ea92963ba6caab0edaf8ab31 Signed-off-by: Dani Megert <Daniel_Megert@ch.ibm.com> Signed-off-by: Jeremie Bresson <jbr@bsiag.com> Signed-off-by: Pramod Goyal <pramod.goyal@gmail.com> Signed-off-by: Thomas Reinhardt <thomas@reinhardt.com>
2016-01-20Fixes for bug 483340: ListenerList should be parameterizedMarkus Keller2-52/+33
2015-12-18Bug 478673 - made AbstractDocument methods accept wildcardsI20160105-1000I20160105-0800I20151229-0800I20151222-0800Markus Keller1-2/+2
2015-12-01Bug 478673: generify codeI20151201-1100I20151201-0800Markus Keller33-484/+503
2015-12-01Bug 478673: added @Override/@Deprecated and removed non-Javadoc boilerplateMarkus Keller53-800/+449
2015-10-30Fixed bug 397610: "org.eclipse.core.runtime.AssertionFailedException" in ↵Dani Megert1-4/+4
"org.eclipse.jface.text.source.AnnotationModel.getRegionAnnotationIterator()"
2014-09-15Bug 180973: [linked mode] Linked mode does not work with Unicode escapesI20140923-0800I20140918-0330I20140917-2000I20140917-0800I20140916-2000I20140916-0800I20140915-2000Markus Keller1-14/+34
2014-07-08Bug 439155: [block selection] Pasting multiple lines inserts \r instead of ↵I20140722-0800I20140715-0800Markus Keller1-3/+5
document line delimiter
2012-10-25Fixed bug 380218: TUR4.2: Regular Expression \C violates the relationv20121025-122133I20121106-0800I20121031-2000I20121031-0800I20121030-2000I20121030-0800I20121029-2000I20121029-0800I20121028-2000Dani Megert1-3/+3
between doted I and dotless I in Turkish.
2012-08-07Fixed bug 386751: FindReplaceDoucmentAdapter find() treats '.' asv20120807-151628I20120814-0800I20120812-1736I20120810-1300I20120808-2000I20120808-0800I20120807-2000Dani Megert1-3/+3
special char for non-regex search
2012-05-15Updated copyrights.v20120515-1541I20120522-2100I20120522-1900I20120521-2100I20120521-1900I20120520-2100I20120520-1900I20120519-2100I20120519-1900I20120518-2345I20120518-2145I20120518-1730I20120518-1530I20120517-1915I20120516-2100I20120516-1900I20120515-2300I20120515-2200I20120515-2145I20120515-2100I20120515-1900Markus Keller1-1/+1
2012-03-12Revert "fTextStore doesn't need to be protected"v20120312-1446Dani Megert1-2/+2
This reverts commit fb8fa0a233409c255039912f4bc4171d4b00eccd.
2012-03-09fTextStore doesn't need to be protectedv20120309-2020Deepak Azad1-2/+2
2012-01-13Fixed bug 368474: [implementation] Find / Replace; Escape Regularv20120113-1118Dani Megert1-2/+5
Expression routine leaves out leading zero

Back to the top