Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 17141 Details for
Bug 82464
pick out selected part of String does not work as expected [quick assist]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Fix for getPickOutStringProposals
advanqas.patch (text/plain), 892 bytes, created by
Konstantin Scheglov
on 2005-01-13 13:24:56 EST
(
hide
)
Description:
Fix for getPickOutStringProposals
Filename:
MIME Type:
Creator:
Konstantin Scheglov
Created:
2005-01-13 13:24:56 EST
Size:
892 bytes
patch
obsolete
>Index: AdvancedQuickAssistProcessor.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java,v >retrieving revision 1.21 >diff -u -r1.21 AdvancedQuickAssistProcessor.java >--- AdvancedQuickAssistProcessor.java 12 Jan 2005 16:31:45 -0000 1.21 >+++ AdvancedQuickAssistProcessor.java 13 Jan 2005 18:20:53 -0000 >@@ -1504,6 +1504,11 @@ > StringLiteral stringLiteral= (StringLiteral) node; > String stringValue= stringLiteral.getEscapedValue(); > >+ // check that string consists of only one part, because "a" + "b" is _single_ StringLiteral >+ if (stringValue.length() != 1 + (valueEnd - valueStart) + 1) { >+ return false; >+ } >+ > int firstPos= selectionPos - node.getStartPosition(); > int secondPos= firstPos + selectionLen; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 82464
: 17141