Home
last modified time | relevance | path

Searched refs:TextChange (Results 1 – 25 of 139) sorted by relevance

123456

/dports/graphics/krita/krita-4.4.8/plugins/flake/textshape/
H A DTextChange.cpp21 TextChange::TextChange() in TextChange() function in TextChange
29 int TextChange::length() const in length()
39 int TextChange::position() const in position()
44 int TextChange::formerLength() const in formerLength()
50 void TextChange::setPosition(int pos) in setPosition()
66 void TextChange::setPrevious(TextChange *item) in setPrevious()
71 void TextChange::setNext(TextChange *item) in setNext()
76 void TextChange::move(int length) in move()
84 void TextChange::insertBefore(TextChange *node) in insertBefore()
95 void TextChange::insertAfter(TextChange *node) in insertAfter()
[all …]
H A DTextChange.h24 class TextChange
27 TextChange();
33 TextChange *next() in next()
37 const TextChange *next() const in next()
41 TextChange *previous() in previous()
45 const TextChange *previous() const in previous()
62 void setPrevious(TextChange *item);
63 void setNext(TextChange *item);
67 void insertAfter(TextChange *node);
69 void merge(TextChange *other);
[all …]
H A DTextChanges.cpp30 TextChange *change = m_root; in ~TextChanges()
32 TextChange *prev = change; in ~TextChanges()
46 TextChange *change = new TextChange(); in changed()
55 TextChange *cursor = m_root; in changed()
86 QMap<int, const TextChange *> TextChanges::changes() const in changes()
88 QMap<int, const TextChange *> result; in changes()
/dports/editors/calligra/calligra-3.2.1/plugins/textshape/
H A DTextChange.cpp22 TextChange::TextChange() in TextChange() function in TextChange
27 int TextChange::length() const in length()
37 int TextChange::position() const in position()
42 int TextChange::formerLength() const in formerLength()
48 void TextChange::setPosition(int pos) in setPosition()
64 void TextChange::setPrevious(TextChange *item) in setPrevious()
69 void TextChange::setNext(TextChange *item) in setNext()
74 void TextChange::move(int length) in move()
81 void TextChange::insertBefore(TextChange *node) in insertBefore()
91 void TextChange::insertAfter(TextChange *node) in insertAfter()
[all …]
H A DTextChange.h24 class TextChange
27 TextChange();
33 TextChange *next() { in next()
36 const TextChange *next() const { in next()
39 TextChange *previous() { in previous()
42 const TextChange *previous() const { in previous()
56 void setPrevious(TextChange *item);
57 void setNext(TextChange *item);
61 void insertAfter(TextChange *node);
63 void merge(TextChange *other);
[all …]
H A DTextChanges.cpp31 TextChange *change = m_root; in ~TextChanges()
33 TextChange *prev = change; in ~TextChanges()
47 TextChange *change = new TextChange(); in changed()
56 TextChange *cursor = m_root; in changed()
83 QMap<int, const TextChange*> TextChanges::changes() const in changes()
85 QMap<int, const TextChange*> result; in changes()
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Web.Razor.Test/Text/
H A DTextChangeTest.cs55 TextChange change = new TextChange(42, 24, oldBuffer, 1337, newBuffer); in ConstructorInitializesProperties()
71 TextChange change = new TextChange(0, 1, oldBuffer, 0, newBuffer); in TestIsDelete()
83 TextChange change = new TextChange(0, 0, oldBuffer, 35, newBuffer); in TestIsInsert()
95 TextChange change = new TextChange(0, 5, oldBuffer, 10, newBuffer); in TestIsReplace()
107 var textChange = new TextChange(2, 1, oldBuffer, 1, newBuffer); in OldTextReturnsOldSpanFromOldBuffer()
212 var original = new TextChange(0, 4, oldBuffer, 5, newBuffer); in NormalizeFixesUpIntelliSenseStyleReplacements()
215 TextChange normalized = original.Normalize(); in NormalizeFixesUpIntelliSenseStyleReplacements()
227 var original = new TextChange(0, 5, oldBuffer, 9, newBuffer); in NormalizeDoesntAffectChangesWithoutCommonPrefixes()
230 TextChange normalized = original.Normalize(); in NormalizeDoesntAffectChangesWithoutCommonPrefixes()
242 var original = new TextChange(0, 8, oldBuffer, 1, newBuffer); in NormalizeDoesntAffectShrinkingReplacements()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/accessible/ipc/win/handler/
H A DAccessibleHandlerControl.cpp27 TextChange::TextChange() : mIA2UniqueId(0), mIsInsert(false), mText() {} in TextChange() function in mozilla::a11y::detail::TextChange
29 TextChange::TextChange(long aIA2UniqueId, bool aIsInsert, in TextChange() function in mozilla::a11y::detail::TextChange
35 TextChange::TextChange(TextChange&& aOther) : mText() { *this = Move(aOther); } in TextChange() function in mozilla::a11y::detail::TextChange
37 TextChange::TextChange(const TextChange& aOther) : mText() { *this = aOther; } in TextChange() function in mozilla::a11y::detail::TextChange
39 TextChange& TextChange::operator=(TextChange&& aOther) { in operator =()
49 TextChange& TextChange::operator=(const TextChange& aOther) { in operator =()
57 TextChange::~TextChange() { ::SysFreeString(mText.text); } in ~TextChange()
60 TextChange::GetOld(long aIA2UniqueId, NotNull<IA2TextSegment*> aOutOldSegment) { in GetOld()
69 TextChange::GetNew(long aIA2UniqueId, NotNull<IA2TextSegment*> aOutNewSegment) { in GetNew()
77 /* static */ BSTR TextChange::BSTRCopy(const BSTR& aIn) { in BSTRCopy()
[all …]
H A DAccessibleHandlerControl.h25 class TextChange final {
27 TextChange();
28 TextChange(long aIA2UniqueId, bool aIsInsert, NotNull<IA2TextSegment*> aText);
29 TextChange(TextChange&& aOther);
30 TextChange(const TextChange& aOther);
32 TextChange& operator=(TextChange&& aOther);
33 TextChange& operator=(const TextChange& aOther);
35 ~TextChange();
78 detail::TextChange mTextChange;
/dports/lang/spidermonkey78/firefox-78.9.0/accessible/ipc/win/handler/
H A DAccessibleHandlerControl.cpp26 TextChange::TextChange() : mIA2UniqueId(0), mIsInsert(false), mText() {} in TextChange() function in mozilla::a11y::detail::TextChange
28 TextChange::TextChange(long aIA2UniqueId, bool aIsInsert, in TextChange() function in mozilla::a11y::detail::TextChange
34 TextChange::TextChange(TextChange&& aOther) : mText() { in TextChange() function in mozilla::a11y::detail::TextChange
38 TextChange::TextChange(const TextChange& aOther) : mText() { *this = aOther; } in TextChange() function in mozilla::a11y::detail::TextChange
40 TextChange& TextChange::operator=(TextChange&& aOther) { in operator =()
50 TextChange& TextChange::operator=(const TextChange& aOther) { in operator =()
58 TextChange::~TextChange() { ::SysFreeString(mText.text); } in ~TextChange()
61 TextChange::GetOld(long aIA2UniqueId, NotNull<IA2TextSegment*> aOutOldSegment) { in GetOld()
70 TextChange::GetNew(long aIA2UniqueId, NotNull<IA2TextSegment*> aOutNewSegment) { in GetNew()
79 BSTR TextChange::BSTRCopy(const BSTR& aIn) { in BSTRCopy()
[all …]
H A DAccessibleHandlerControl.h26 class TextChange final {
28 TextChange();
29 TextChange(long aIA2UniqueId, bool aIsInsert, NotNull<IA2TextSegment*> aText);
30 TextChange(TextChange&& aOther);
31 TextChange(const TextChange& aOther);
33 TextChange& operator=(TextChange&& aOther);
34 TextChange& operator=(const TextChange& aOther);
36 ~TextChange();
84 detail::TextChange mTextChange;
/dports/www/firefox/firefox-99.0/accessible/ipc/win/handler/
H A DAccessibleHandlerControl.cpp26 TextChange::TextChange() : mIA2UniqueId(0), mIsInsert(false), mText() {} in TextChange() function in mozilla::a11y::detail::TextChange
28 TextChange::TextChange(long aIA2UniqueId, bool aIsInsert, in TextChange() function in mozilla::a11y::detail::TextChange
34 TextChange::TextChange(TextChange&& aOther) : mText() { in TextChange() function in mozilla::a11y::detail::TextChange
38 TextChange::TextChange(const TextChange& aOther) : mText() { *this = aOther; } in TextChange() function in mozilla::a11y::detail::TextChange
40 TextChange& TextChange::operator=(TextChange&& aOther) { in operator =()
50 TextChange& TextChange::operator=(const TextChange& aOther) { in operator =()
58 TextChange::~TextChange() { ::SysFreeString(mText.text); } in ~TextChange()
61 TextChange::GetOld(long aIA2UniqueId, NotNull<IA2TextSegment*> aOutOldSegment) { in GetOld()
70 TextChange::GetNew(long aIA2UniqueId, NotNull<IA2TextSegment*> aOutNewSegment) { in GetNew()
79 BSTR TextChange::BSTRCopy(const BSTR& aIn) { in BSTRCopy()
[all …]
H A DAccessibleHandlerControl.h26 class TextChange final {
28 TextChange();
29 TextChange(long aIA2UniqueId, bool aIsInsert, NotNull<IA2TextSegment*> aText);
30 TextChange(TextChange&& aOther);
31 TextChange(const TextChange& aOther);
33 TextChange& operator=(TextChange&& aOther);
34 TextChange& operator=(const TextChange& aOther);
36 ~TextChange();
84 detail::TextChange mTextChange;
/dports/www/firefox-esr/firefox-91.8.0/accessible/ipc/win/handler/
H A DAccessibleHandlerControl.cpp26 TextChange::TextChange() : mIA2UniqueId(0), mIsInsert(false), mText() {} in TextChange() function in mozilla::a11y::detail::TextChange
28 TextChange::TextChange(long aIA2UniqueId, bool aIsInsert, in TextChange() function in mozilla::a11y::detail::TextChange
34 TextChange::TextChange(TextChange&& aOther) : mText() { in TextChange() function in mozilla::a11y::detail::TextChange
38 TextChange::TextChange(const TextChange& aOther) : mText() { *this = aOther; } in TextChange() function in mozilla::a11y::detail::TextChange
40 TextChange& TextChange::operator=(TextChange&& aOther) { in operator =()
50 TextChange& TextChange::operator=(const TextChange& aOther) { in operator =()
58 TextChange::~TextChange() { ::SysFreeString(mText.text); } in ~TextChange()
61 TextChange::GetOld(long aIA2UniqueId, NotNull<IA2TextSegment*> aOutOldSegment) { in GetOld()
70 TextChange::GetNew(long aIA2UniqueId, NotNull<IA2TextSegment*> aOutNewSegment) { in GetNew()
79 BSTR TextChange::BSTRCopy(const BSTR& aIn) { in BSTRCopy()
[all …]
H A DAccessibleHandlerControl.h26 class TextChange final {
28 TextChange();
29 TextChange(long aIA2UniqueId, bool aIsInsert, NotNull<IA2TextSegment*> aText);
30 TextChange(TextChange&& aOther);
31 TextChange(const TextChange& aOther);
33 TextChange& operator=(TextChange&& aOther);
34 TextChange& operator=(const TextChange& aOther);
36 ~TextChange();
84 detail::TextChange mTextChange;
/dports/mail/thunderbird/thunderbird-91.8.0/accessible/ipc/win/handler/
H A DAccessibleHandlerControl.cpp26 TextChange::TextChange() : mIA2UniqueId(0), mIsInsert(false), mText() {} in TextChange() function in mozilla::a11y::detail::TextChange
28 TextChange::TextChange(long aIA2UniqueId, bool aIsInsert, in TextChange() function in mozilla::a11y::detail::TextChange
34 TextChange::TextChange(TextChange&& aOther) : mText() { in TextChange() function in mozilla::a11y::detail::TextChange
38 TextChange::TextChange(const TextChange& aOther) : mText() { *this = aOther; } in TextChange() function in mozilla::a11y::detail::TextChange
40 TextChange& TextChange::operator=(TextChange&& aOther) { in operator =()
50 TextChange& TextChange::operator=(const TextChange& aOther) { in operator =()
58 TextChange::~TextChange() { ::SysFreeString(mText.text); } in ~TextChange()
61 TextChange::GetOld(long aIA2UniqueId, NotNull<IA2TextSegment*> aOutOldSegment) { in GetOld()
70 TextChange::GetNew(long aIA2UniqueId, NotNull<IA2TextSegment*> aOutNewSegment) { in GetNew()
79 BSTR TextChange::BSTRCopy(const BSTR& aIn) { in BSTRCopy()
[all …]
H A DAccessibleHandlerControl.h26 class TextChange final {
28 TextChange();
29 TextChange(long aIA2UniqueId, bool aIsInsert, NotNull<IA2TextSegment*> aText);
30 TextChange(TextChange&& aOther);
31 TextChange(const TextChange& aOther);
33 TextChange& operator=(TextChange&& aOther);
34 TextChange& operator=(const TextChange& aOther);
36 ~TextChange();
84 detail::TextChange mTextChange;
/dports/devel/RStudio/rstudio-2021.09.1-372/src/gwt/src/org/rstudio/core/client/patch/
H A DSubstringDiff.java48 public TextChange[] asTextChanges() in asTextChanges()
50 ArrayList<TextChange> changes = new ArrayList<>(); in asTextChanges()
54 changes.add(new TextChange(TextChange.Type.Equal, origVal_.substring(0, offset_))); in asTextChanges()
57 …changes.add(new TextChange(TextChange.Type.Delete, origVal_.substring(offset_, offset_ + length_))… in asTextChanges()
60 changes.add(new TextChange(TextChange.Type.Insert, replacement_)); in asTextChanges()
63 … changes.add(new TextChange(TextChange.Type.Equal, origVal_.substring(offset_ + length_))); in asTextChanges()
68 changes.add(new TextChange(TextChange.Type.Delete, origVal_)); in asTextChanges()
70 changes.add(new TextChange(TextChange.Type.Insert, newVal_)); in asTextChanges()
72 return changes.toArray(new TextChange[] {}); in asTextChanges()
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/src/System.Web.Razor/Text/
H A DTextChange.cs11 public struct TextChange struct
19 …internal TextChange(int position, int oldLength, ITextBuffer oldBuffer, int newLength, ITextBuffer… in TextChange() method
24 …public TextChange(int oldPosition, int oldLength, ITextBuffer oldBuffer, int newPosition, int newL… in TextChange() argument
108 if (!(obj is TextChange)) in Equals()
112 TextChange change = (TextChange)obj; in Equals()
153 public TextChange Normalize() in Normalize() argument
158 return new TextChange(oldPosition: OldPosition + OldLength, in Normalize()
200 public static bool operator ==(TextChange left, TextChange right) in operator ==() argument
205 public static bool operator !=(TextChange left, TextChange right) in operator !=() argument
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/util/
H A DQualifiedNameSearchResult.java27 import org.eclipse.ltk.core.refactoring.TextChange;
34 private Map<IFile, TextChange> fChanges;
40 public TextChange getChange(IFile file) { in getChange()
41 TextChange result= fChanges.get(file); in getChange()
49 public TextChange[] getAllChanges() { in getAllChanges()
50 Collection<TextChange> values= fChanges.values(); in getAllChanges()
51 return values.toArray(new TextChange[values.size()]); in getAllChanges()
60 Collection<TextChange> values= fChanges.values(); in getSingleChange()
67 for (TextChange textChange : values) { in getSingleChange()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/refactoring/util/
H A DTextChangeManager.java22 import org.eclipse.ltk.core.refactoring.TextChange;
34 private Map<ICompilationUnit, TextChange> fMap= new HashMap<>(10);
53 public void manage(ICompilationUnit cu, TextChange change) { in manage()
64 public TextChange get(ICompilationUnit cu) { in get()
65 TextChange result= fMap.get(cu); in get()
81 public TextChange remove(ICompilationUnit unit) { in remove()
90 public TextChange[] getAllChanges(){ in getAllChanges()
100 TextChange[] textChanges= new TextChange[cus.length]; in getAllChanges()
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Web.Razor.Test/Parser/PartialParsing/
H A DVBPartialParsingTest.cs20 RunPartialParseTest(new TextChange(10, 4, old, 0, changed), in ImplicitExpressionProvisionallyAcceptsDeleteOfIdentifierPartsIfDotRemains()
38 RunPartialParseTest(new TextChange(7, 2, old, 0, changed), in ImplicitExpressionAcceptsDeleteOfIdentifierPartsIfSomeOfIdentifierRemains()
55 RunPartialParseTest(new TextChange(6, 0, old, 4, changed), in ImplicitExpressionProvisionallyAcceptsMultipleInsertionIfItCausesIdentifierExpansionAndTrailingDot()
73 RunPartialParseTest(new TextChange(8, 0, old, 3, changed), in ImplicitExpressionAcceptsMultipleInsertionIfItOnlyCausesIdentifierExpansion()
90TextChange dotTyped = new TextChange(8, 0, new StringTextBuffer("foo @foo @bar"), 1, new StringTex… in ImplicitExpressionRejectsChangeWhichWouldHaveBeenAcceptedIfLastChangeWasProvisionallyAcceptedOnDifferentSpan()
91TextChange charTyped = new TextChange(14, 0, new StringTextBuffer("foo @foo. @barb"), 1, new Strin… in ImplicitExpressionRejectsChangeWhichWouldHaveBeenAcceptedIfLastChangeWasProvisionallyAcceptedOnDifferentSpan()
127TextChange dotTyped = new TextChange(8, 0, new StringTextBuffer("foo @foo bar"), 1, new StringText… in ImplicitExpressionAcceptsIdentifierTypedAfterDotIfLastChangeWasProvisionalAcceptanceOfDot()
128TextChange charTyped = new TextChange(9, 0, new StringTextBuffer("foo @foo. bar"), 1, new StringTe… in ImplicitExpressionAcceptsIdentifierTypedAfterDotIfLastChangeWasProvisionalAcceptanceOfDot()
161 RunPartialParseTest(new TextChange(15, 0, old, 1, changed), in ImplicitExpressionAcceptsIdentifierExpansionAtEndOfNonWhitespaceCharacters()
185 RunPartialParseTest(new TextChange(8, 0, old, 1, changed), in ImplicitExpressionProvisionallyAcceptsDotAfterIdentifierInMarkup()
[all …]
H A DCSharpPartialParsingTest.cs20 RunPartialParseTest(new TextChange(10, 4, old, 0, changed), in ImplicitExpressionProvisionallyAcceptsDeleteOfIdentifierPartsIfDotRemains()
36 RunPartialParseTest(new TextChange(7, 2, old, 0, changed), in ImplicitExpressionAcceptsDeleteOfIdentifierPartsIfSomeOfIdentifierRemains()
51 RunPartialParseTest(new TextChange(6, 0, old, 4, changed), in ImplicitExpressionProvisionallyAcceptsMultipleInsertionIfItCausesIdentifierExpansionAndTrailingDot()
67 RunPartialParseTest(new TextChange(8, 0, old, 3, changed), in ImplicitExpressionAcceptsMultipleInsertionIfItOnlyCausesIdentifierExpansion()
86 RunPartialParseTest(new TextChange(12, 0, old, 1, changed), in ImplicitExpressionAcceptsIdentifierExpansionAtEndOfNonWhitespaceCharacters()
113 RunPartialParseTest(new TextChange(13, 0, old, 1, changed), in ImplicitExpressionAcceptsIdentifierAfterDotAtEndOfNonWhitespaceCharacters()
140 RunPartialParseTest(new TextChange(12, 0, old, 1, changed), in ImplicitExpressionAcceptsDotAtEndOfNonWhitespaceCharacters()
163TextChange dotTyped = new TextChange(8, 0, new StringTextBuffer("foo @foo @bar"), 1, new StringTex… in ImplicitExpressionRejectsChangeWhichWouldHaveBeenAcceptedIfLastChangeWasProvisionallyAcceptedOnDifferentSpan()
164TextChange charTyped = new TextChange(14, 0, new StringTextBuffer("foo @foo. @bar"), 1, new String… in ImplicitExpressionRejectsChangeWhichWouldHaveBeenAcceptedIfLastChangeWasProvisionallyAcceptedOnDifferentSpan()
200TextChange dotTyped = new TextChange(8, 0, new StringTextBuffer("foo @foo bar"), 1, new StringText… in ImplicitExpressionAcceptsIdentifierTypedAfterDotIfLastChangeWasProvisionalAcceptanceOfDot()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/nls/
H A DNLSSourceModifierTest.java34 import org.eclipse.ltk.core.refactoring.TextChange;
516TextChange accessorChange= (TextChange)AccessorClassModifier.create(accessorCu, nlsSubstitutions); in fromTranslatedToNotTranslatedEclipse()
631TextChange accessorChange= (TextChange)AccessorClassModifier.create(accessorCu, nlsSubstitutions); in fromTranslatedToSkippedEclipse()
744TextChange accessorChange= (TextChange)AccessorClassModifier.create(accessorCu, nlsSubstitutions); in replacementOfKeyEclipse()
816TextChange change= (TextChange) NLSSourceModifier.create(cu, nlsSubstitutions, defaultSubst, pack,… in replacementOfKeysBug223865()
828TextChange accessorChange= (TextChange) AccessorClassModifier.create(accessorCu, nlsSubstitutions); in replacementOfKeysBug223865()
955TextChange accessorChange= (TextChange)AccessorClassModifier.create(accessorCu, nlsSubstitutions); in bug95708_2()
1042TextChange accessorChange= (TextChange)AccessorClassModifier.create(accessorCu, nlsSubstitutions); in insertionOrder1()
1134TextChange accessorChange= (TextChange)AccessorClassModifier.create(accessorCu, nlsSubstitutions); in insertionOrder2()
1224TextChange accessorChange= (TextChange)AccessorClassModifier.create(accessorCu, nlsSubstitutions); in insertionOrder3()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/src/System.Web.Razor/Editor/
H A DSpanEditHandler.cs50 public virtual EditResult ApplyChange(Span target, TextChange change) in ApplyChange()
55 public virtual EditResult ApplyChange(Span target, TextChange change, bool force) in ApplyChange()
58 TextChange normalized = change.Normalize(); in ApplyChange()
72 public virtual bool OwnsChange(Span target, TextChange change) in OwnsChange()
85 protected virtual SpanBuilder UpdateSpan(Span target, TextChange normalizedChange) in UpdateSpan()
103 protected internal static bool IsAtEndOfFirstLine(Span target, TextChange change) in IsAtEndOfFirstLine()
112 protected internal static bool IsEndInsertion(Span target, TextChange change) in IsEndInsertion()
120 protected internal static bool IsEndDeletion(Span target, TextChange change) in IsEndDeletion()
128 protected internal static bool IsEndReplace(Span target, TextChange change) in IsEndReplace()
134 protected internal static bool IsAtEndOfSpan(Span target, TextChange change) in IsAtEndOfSpan()
[all …]

123456