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 109490 Details for
Bug 243533
[typing] Tab is not indenting line in Java editor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
patch
bug_242707_tab_not_identing_jdt_patch.txt (text/plain), 1.06 KB, created by
Andrew Gvozdev
on 2008-08-07 23:24:41 EDT
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Andrew Gvozdev
Created:
2008-08-07 23:24:41 EDT
Size:
1.06 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.ui >Index: ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java,v >retrieving revision 1.111 >diff -u -r1.111 JavaAutoIndentStrategy.java >--- ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java 24 Jul 2007 08:38:42 -0000 1.111 >+++ ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java 7 Aug 2008 00:19:49 -0000 >@@ -1172,7 +1172,9 @@ > smartIndentAfterNewLine(d, c); > else if (c.text.length() == 1) > smartIndentOnKeypress(d, c); >- else if (c.text.length() > 1 && getPreferenceStore().getBoolean(PreferenceConstants.EDITOR_SMART_PASTE)) >+ else if (c.text.length() > 1 >+ && getPreferenceStore().getBoolean(PreferenceConstants.EDITOR_SMART_PASTE) >+ && ! c.text.matches("^ *$") ) //$NON-NLS-1$, skip spaces-only strings > smartPaste(d, c); // no smart backspace for paste > > }
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
Flags:
daniel_megert
:
review-
Actions:
View
|
Diff
Attachments on
bug 243533
:
109490
|
109491