issue_id
int64
2.04k
425k
title
stringlengths
9
251
body
stringlengths
4
32.8k
status
stringclasses
6 values
after_fix_sha
stringlengths
7
7
project_name
stringclasses
6 values
repo_url
stringclasses
6 values
repo_name
stringclasses
6 values
language
stringclasses
1 value
issue_url
null
before_fix_sha
null
pull_url
null
commit_datetime
timestamp[us, tz=UTC]
report_datetime
timestamp[us, tz=UTC]
updated_file
stringlengths
23
187
chunk_content
stringlengths
1
22k
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
package org.eclipse.jdt.internal.ui.javaeditor; /* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ import java.lang.reflect.InvocationTargetException; import java.util.Iterator; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IFolder; import org.eclipse.core.resources.IMark...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IWorkspaceRoot; import org.eclipse.core.resources.ResourcesPlugin; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IPath; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.Path; i...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
import org.eclipse.jface.dialogs.ErrorDialog; import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.jface.dialogs.ProgressMonitorDialog; import org.eclipse.jface.preference.IPreferenceStore; import org.eclipse.jface.preference.PreferenceConverter; import org.eclipse.jface.text.BadLocationException; import ...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
import org.eclipse.swt.events.KeyEvent; import org.eclipse.swt.events.KeyListener; import org.eclipse.swt.events.MouseEvent; import org.eclipse.swt.events.MouseListener; import org.eclipse.swt.events.PaintEvent; import org.eclipse.swt.events.PaintListener; import org.eclipse.swt.graphics.Color; import org.eclipse.swt.g...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
/** * Responsible for highlighting matching pairs of brackets. */ class BracketHighlighter implements KeyListener, MouseListener, ISelectionChangedListener, ITextListener, ITextInputListener { /** * Highlights the brackets. */ class HighlightBrackets implements PaintListener { private JavaPai...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
public HighlightBrackets() { fTextWidget= fSourceViewer.getTextWidget(); } public void setHighlightColor(Color color) { fColor= color; } public void dispose() { if (fMatcher != null) { fMatcher.dispose(); fMatcher= null; } fColor= null; fTextWidget= null; ...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
Point selection= fSourceViewer.getSelectedRange(); if (selection.y > 0) { deactivate(true); return; } IRegion pair= fMatcher.match(fSourceViewer.getDocument(), selection.x); if (pair == null) { deactivate(true); return; } if (fIsActive) { if (pair.getOff...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
fIsActive= true; fBracketPosition.isDeleted= false; fBracketPosition.offset= pair.getOffset(); fBracketPosition.length= pair.getLength(); fAnchor= fMatcher.getAnchor(); fTextWidget.addPaintListener(this); fManager.manage(fBracketPosition); handleDrawRequest(null); } ...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
} } private void draw(GC gc, int offset, int length) { if (gc != null) { Point left= fTextWidget.getLocationAtOffset(offset); Point right= fTextWidget.getLocationAtOffset(offset + length); gc.setForeground(fColor); gc.drawRectangle(left.x, left.y, right.x - left.x - 1, gc.getFont...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
public void install(IDocument document) { fDocument= document; fDocument.addPositionCategory(fCategory); fDocument.addPositionUpdater(fPositionUpdater); } public void dispose() { uninstall(fDocument); } public void uninstall(IDocument document) { if (document == fDocument && docu...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
} } public void unmanage(Position position) { try { fDocument.removePosition(fCategory, position); } catch (BadPositionCategoryException x) { } } }; private BracketPositionManager fManager= new BracketPositionManager(); private HighlightBrackets fHighlightBrackets; priv...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
fSourceViewer.addTextInputListener(this); ISelectionProvider provider= fSourceViewer.getSelectionProvider(); provider.addSelectionChangedListener(this); fSourceViewer.addTextListener(this); StyledText text= fSourceViewer.getTextWidget(); text.addKeyListener(this); text.addMouseListener(thi...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
provider.removeSelectionChangedListener(this); fSourceViewer.removeTextListener(this); StyledText text= fSourceViewer.getTextWidget(); if (text != null && !text.isDisposed()) { text.removeKeyListener(fBracketHighlighter); text.removeMouseListener(fBracketHighlighter); } fSou...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
public void mouseDoubleClick(MouseEvent e) { } /** * @see MouseListener#mouseDown(MouseEvent) */ public void mouseDown(MouseEvent e) { } /** * @see MouseListener#mouseUp(MouseEvent) */ public void mouseUp(MouseEvent e) { fHighlightBrackets.run(); } /** * @see ISelectionChanged...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
control.getDisplay().asyncExec(new Runnable() { public void run() { if (fTextChanged && fHighlightBrackets != null) fHighlightBrackets.run(); } }); } } /** * @see ITextInputListener#inputDocumentAboutToBeChanged(IDocument, IDocument) */ public void inputDocumentAboutToBeCha...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
public InternalSourceViewer(Composite parent, IVerticalRuler ruler, int styles) { super(parent, ruler, styles); } public IContentAssistant getContentAssistant() { return fContentAssistant; } }; public final static String MATCHING_BRACKETS= "matchingBrackets"; public final static String MATCHING...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
*/ public CompilationUnitEditor() { super(); setDocumentProvider(JavaPlugin.getDefault().getCompilationUnitDocumentProvider()); setEditorContextMenuId("#CompilationUnitEditorContext"); setRulerContextMenuId("#CompilationUnitRulerContext"); setOutlinerContextMenuId("#CompilationUnitOutlinerContext"); set...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
setAction(ITextEditorActionConstants.RULER_DOUBLE_CLICK, getAction("ManageBreakpoints")); } /** * @see JavaEditor#getElementAt(int) */ protected IJavaElement getElementAt(int offset) { IWorkingCopyManager manager= JavaPlugin.getDefault().getWorkingCopyManager(); ICompilationUnit unit= manager.getWorking...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
} catch (JavaModelException x) { } return null; } /** * @see AbstractTextEditor#editorContextMenuAboutToShow(IMenuManager) */ public void editorContextMenuAboutToShow(IMenuManager menu) { super.editorContextMenuAboutToShow(menu); addAction(menu, IContextMenuConstants.GROUP_GENERATE, "ContentAssi...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
* @see JavaEditor#createOutlinePage() */ protected JavaOutlinePage createOutlinePage() { JavaOutlinePage page= super.createOutlinePage(); page.setAction("OrganizeImports", new OrganizeImportsAction(this)); DeleteAction deleteElement= new DeleteAction(page); page.setAction("DeleteElement", delete...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
CompilationUnitDocumentProvider cp= (CompilationUnitDocumentProvider) p; cp.setSavePolicy(fSavePolicy); } try { super.performSaveOperation(operation, progressMonitor); } finally { if (p instanceof CompilationUnitDocumentProvider) { CompilationUnitDocumentProvider cp= (CompilationUnitDocumentProvid...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
* of deletion of input element) there is a way to report back to the caller. */ performSaveAs(progressMonitor); } else { /* * 1GF5YOX: ITPJUI:ALL - Save of delete file claims it's still there * Missing resources. */ Shell shell= getSite().getShell(); MessageDialog.openE...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
/** * Jumps to the error next according to the given direction. */ public void gotoError(boolean forward) { ISelectionProvider provider= getSelectionProvider(); if (fStatusLineClearer != null) { provider.removeSelectionChangedListener(fStatusLineClearer); fStatusLineClearer= null; } ITextSel...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
getSelectionProvider().removeSelectionChangedListener(fStatusLineClearer); fStatusLineClearer= null; getStatusLineManager().setErrorMessage(""); } }; provider.addSelectionChangedListener(fStatusLineClearer); } else { getStatusLineManager().setErrorMessage(""); } } private IMar...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
Position p= model.getPosition(a); if (!p.includes(offset)) { int currentDistance= 0; if (forward) { currentDistance= p.getOffset() - offset; if (currentDistance < 0) currentDistance= endOfDocument - offset + p.getOffset(); } else { currentDistance= offse...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
*/ public boolean isSaveAsAllowed() { return true; } /* * 1GF7WG9: ITPJUI:ALL - EXCEPTION: "Save As..." always fails */ protected IPackageFragment getPackage(IWorkspaceRoot root, IPath path) { if (path.segmentCount() == 1) { IProject project= root.getProject(path.toString()); if (project !=...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
} } return null; } else if (path.segmentCount() > 1) { IFolder folder= root.getFolder(path); IJavaElement element= JavaCore.create(folder); if (element instanceof IPackageFragment) return (IPackageFragment) element; } return null; } /* * 1GEUSSR: ITPUI:ALL - User should neve...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
} IPath filePath= dialog.getResult(); if (filePath == null) { if (progressMonitor != null) progressMonitor.setCanceled(true); return; } filePath= filePath.removeTrailingSeparator(); final String fileName= filePath.lastSegment(); IPath folderPath= filePath.removeLastSegments(1); if (folde...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
if (fragment != null) { try { IWorkingCopyManager manager= JavaPlugin.getDefault().getWorkingCopyManager(); ICompilationUnit unit= manager.getWorkingCopy(getEditorInput()); /* * 1GJXY0L: ITPJUI:WINNT - NPE during save As in Java editor * Introduced null check, ...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
* Changed false to true. */ getDocumentProvider().saveDocument(monitor, newInput, getDocumentProvider().getDocument(getEditorInput()), true); } }; boolean success= false; try { if (fragment == null) getDocumentProvider().aboutToChange(newInput); new ProgressMonitorDialog(shell).ru...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
} finally { if (fragment == null) getDocumentProvider().changed(newInput); if (progressMonitor != null) progressMonitor.setCanceled(!success); } } /** * @see AbstractTextEditor#doSetInput(IEditorInput) */ protected void doSetInput(IEditorInput input) throws CoreException { super.doSe...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
fBracketHighlighter.dispose(); fBracketHighlighter= null; } } private boolean isBracketHighlightingEnabled() { IPreferenceStore store= getPreferenceStore(); return store.getBoolean(MATCHING_BRACKETS); } private Color getColor(String key) { RGB rgb= PreferenceConverter.getColor(getPreferenceStore(), k...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
/** * @see AbstractTextEditor#createPartControl(Composite) */ public void createPartControl(Composite parent) { super.createPartControl(parent); if (isBracketHighlightingEnabled()) startBracketHighlighting(); } /** * @see AbstractTextEditor#handlePreferenceStoreChanged(PropertyChangeEvent) */ prote...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
if (fBracketHighlighter != null) fBracketHighlighter.setHighlightColor(getColor(MATCHING_BRACKETS_COLOR)); return; } IContentAssistant c= isv.getContentAssistant(); if (c instanceof ContentAssistant) ContentAssistPreference.changeConfiguration((ContentAssistant) c, getPreferenceStore()...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java
package org.eclipse.jdt.ui.text; /* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.Shell; import org.eclipse.jface.preference.IPreferenceStore; import org.eclipse.jface.text.DefaultInformationControl; import org.eclipse.jface.text.DefaultTex...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java
import org.eclipse.jface.text.presentation.PresentationReconciler; import org.eclipse.jface.text.reconciler.IReconciler; import org.eclipse.jface.text.reconciler.MonoReconciler; import org.eclipse.jface.text.rules.RuleBasedDamagerRepairer; import org.eclipse.jface.text.rules.RuleBasedScanner; import org.eclipse.jface.t...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java
public final static String PREFERENCE_TAB_WIDTH= "org.eclipse.jdt.ui.editor.tab.width"; private JavaTextTools fJavaTextTools; private ITextEditor fTextEditor; /** * Creates a new Java source viewer configuration for viewers in the given editor * using the given Java tools. * * @param tools the Java too...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java
/** * Returns the Java multiline comment scanner for this configuration. * * @return the Java multiline comment scanner */ protected RuleBasedScanner getMultilineCommentScanner() { return fJavaTextTools.getMultilineCommentScanner(); } /** * Returns the Java singleline comment scanner for this configura...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java
* * @return the color manager */ protected IColorManager getColorManager() { return fJavaTextTools.getColorManager(); } /** * Returns the editor in which the configured viewer(s) will reside. * * @return the enclosing editor */ protected ITextEditor getEditor() { return fTextEditor; } /** * ...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java
reconciler.setDamager(dr, IDocument.DEFAULT_CONTENT_TYPE); reconciler.setRepairer(dr, IDocument.DEFAULT_CONTENT_TYPE); dr= new RuleBasedDamagerRepairer(getJavaDocScanner()); reconciler.setDamager(dr, JavaPartitionScanner.JAVA_DOC); reconciler.setRepairer(dr, JavaPartitionScanner.JAVA_DOC); dr= new RuleBasedDa...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java
return assistant; } return null; } /* * @see SourceViewerConfiguration#getReconciler(ISourceViewer) */ public IReconciler getReconciler(ISourceViewer sourceViewer) { if (getEditor() != null && getEditor().isEditable()) { MonoReconciler reconciler= new MonoReconciler(new JavaReconcilingStrategy(getE...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java
public ITextDoubleClickStrategy getDoubleClickStrategy(ISourceViewer sourceViewer, String contentType) { if (JavaPartitionScanner.JAVA_DOC.equals(contentType) || JavaPartitionScanner.JAVA_MULTI_LINE_COMMENT.equals(contentType) || JavaPartitionScanner.JAVA_SINGLE_LINE_COMMENT.equals(contentType)) return new...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java
} /* * @see SourceViewerConfiguration#getTextHover(ISourceViewer, String) */ public ITextHover getTextHover(ISourceViewer sourceViewer, String contentType) { return new JavaTextHover(getEditor()); } /* * @see SourceViewerConfiguration#getConfiguredContentTypes(ISourceViewer) */ public String[] getConfi...
5,473
Bug 5473 Shift-Left behavior with intermixed tabs and spaces
Build 20011025 1. In a default text editor type in the following: <space><tab>some text <tab>some text 2. Now highlight the two lines above and execute Shift-Left. Notice that nothing moves. 3. Replace the tab character in the first line with spaces so that the two lines are indented the same visually. Execute Shift-Le...
resolved fixed
abd307b
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-09T17:15:29Z
2001-11-02T16:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java
/* * @see SourceViewerConfiguration#getHoverControlCreator(ISourceViewer) */ public IInformationControlCreator getInformationControlCreator(ISourceViewer sourceViewer) { return getInformationControlCreator(sourceViewer, true); } private IInformationControlCreator getInformationControlCreator(ISourceViewer so...
7,411
Bug 7411 Cannot add breakpoint on super()
If you are in a constructor and you wish to breakpoint on "super()", it is currently not possible.
verified fixed
04e1230
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-10T20:31:54Z
2002-01-09T23:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/BreakpointLocationVerifier.java
package org.eclipse.jdt.internal.ui.javaeditor; /* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ import org.eclipse.jdt.internal.compiler.parser.InvalidInputException; import org.eclipse.jdt.internal.compiler.parser.Scanner; import org.eclipse.jdt.internal.compiler.parser.TerminalSymbols; import or...
7,411
Bug 7411 Cannot add breakpoint on super()
If you are in a constructor and you wish to breakpoint on "super()", it is currently not possible.
verified fixed
04e1230
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-10T20:31:54Z
2002-01-09T23:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/BreakpointLocationVerifier.java
length= doc.getLineLength(lineNumber); char[] txt= doc.get(start, length).toCharArray(); scanner.setSourceBuffer(txt); token= scanner.getNextToken(); while (token != TerminalSymbols.TokenNameEOF) { if (token == TerminalSymbols.TokenNamebreak || token == TerminalSymbols.TokenNamecontinue || ...
7,471
Bug 7471 JavaModelException in type hierarchy
From 7442 (only the bottom part is relevant for this PR). Martin why are we logging this exception? It looks like a case that can happen and that we should handle. ==== I was debugging a new plug-in when the UI in the master workbench froze on me. I was playing around with the editor's title. I had implemented a getTit...
resolved fixed
78fc002
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T11:44:20Z
2002-01-11T09:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.typehierarchy; import java.util.ArrayList; import java.util.List; import java.util.Set; import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Control; import org.eclip...
7,471
Bug 7471 JavaModelException in type hierarchy
From 7442 (only the bottom part is relevant for this PR). Martin why are we logging this exception? It looks like a case that can happen and that we should handle. ==== I was debugging a new plug-in when the UI in the master workbench froze on me. I was playing around with the editor's title. I had implemented a getTit...
resolved fixed
78fc002
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T11:44:20Z
2002-01-11T09:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java
import org.eclipse.jface.viewers.Viewer; import org.eclipse.ui.IMemento; import org.eclipse.ui.IWorkbenchPart; import org.eclipse.ui.IWorkbenchPartSite; import org.eclipse.jdt.core.IJavaElement; import org.eclipse.jdt.core.IMethod; import org.eclipse.jdt.core.JavaModelException; import org.eclipse.jdt.ui.IContextMenuCo...
7,471
Bug 7471 JavaModelException in type hierarchy
From 7442 (only the bottom part is relevant for this PR). Martin why are we logging this exception? It looks like a case that can happen and that we should handle. ==== I was debugging a new plug-in when the UI in the master workbench froze on me. I was playing around with the editor's title. I had implemented a getTit...
resolved fixed
78fc002
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T11:44:20Z
2002-01-11T09:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java
private ProblemItemMapper fProblemItemMapper; /** * Sorter that uses the unmodified labelprovider (No declaring class names) */ private static class MethodsViewerSorter extends JavaElementSorter {
7,471
Bug 7471 JavaModelException in type hierarchy
From 7442 (only the bottom part is relevant for this PR). Martin why are we logging this exception? It looks like a case that can happen and that we should handle. ==== I was debugging a new plug-in when the UI in the master workbench froze on me. I was playing around with the editor's title. I had implemented a getTit...
resolved fixed
78fc002
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T11:44:20Z
2002-01-11T09:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java
public MethodsViewerSorter() { } public int compare(Viewer viewer, Object e1, Object e2) { int cat1 = category(e1); int cat2 = category(e2); if (cat1 != cat2) return cat1 - cat2; String name1= JavaElementLabels.getElementLabel((IJavaElement) e1, JavaElementLabels.ALL_DEFAULT); String name...
7,471
Bug 7471 JavaModelException in type hierarchy
From 7442 (only the bottom part is relevant for this PR). Martin why are we logging this exception? It looks like a case that can happen and that we should handle. ==== I was debugging a new plug-in when the UI in the master workbench froze on me. I was playing around with the editor's title. I had implemented a getTit...
resolved fixed
78fc002
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T11:44:20Z
2002-01-11T09:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java
private OpenJavaElementAction fOpen; private ShowInheritedMembersAction fShowInheritedMembersAction; private ContextMenuGroup[] fStandardGroups; public MethodsViewer(Composite parent, IWorkbenchPart part) { super(new Table(parent, SWT.MULTI)); fProblemItemMapper= new ProblemItemMapper(); JavaElementLa...
7,471
Bug 7471 JavaModelException in type hierarchy
From 7442 (only the bottom part is relevant for this PR). Martin why are we logging this exception? It looks like a case that can happen and that we should handle. ==== I was debugging a new plug-in when the UI in the master workbench froze on me. I was playing around with the editor's title. I had implemented a getTit...
resolved fixed
78fc002
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T11:44:20Z
2002-01-11T09:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java
hideFields.setDescription(TypeHierarchyMessages.getString("MethodsViewer.hide_fields.description")); hideFields.setToolTipChecked(TypeHierarchyMessages.getString("MethodsViewer.hide_fields.tooltip.checked")); hideFields.setToolTipUnchecked(TypeHierarchyMessages.getString("MethodsViewer.hide_fields.tooltip.uncheck...
7,471
Bug 7471 JavaModelException in type hierarchy
From 7442 (only the bottom part is relevant for this PR). Martin why are we logging this exception? It looks like a case that can happen and that we should handle. ==== I was debugging a new plug-in when the UI in the master workbench froze on me. I was playing around with the editor's title. I had implemented a getTit...
resolved fixed
78fc002
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T11:44:20Z
2002-01-11T09:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java
fStandardGroups= new ContextMenuGroup[] { new JavaSearchGroup(), new GenerateGroup() }; setSorter(new MethodsViewerSorter()); } /** * Show inherited methods */ public void showInheritedMethods(boolean on) { MethodsContentProvider cprovider= (MethodsContentProvider) getContentProvider(); try { ...
7,471
Bug 7471 JavaModelException in type hierarchy
From 7442 (only the bottom part is relevant for this PR). Martin why are we logging this exception? It looks like a case that can happen and that we should handle. ==== I was debugging a new plug-in when the UI in the master workbench froze on me. I was playing around with the editor's title. I had implemented a getTit...
resolved fixed
78fc002
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T11:44:20Z
2002-01-11T09:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java
/* * @see Viewer#inputChanged(Object, Object) */ protected void inputChanged(Object input, Object oldInput) { super.inputChanged(input, oldInput); } /** * Returns <code>true</code> if inherited methods are shown. */ public boolean isShowInheritedMethods() { return ((MethodsContentProvider) getContent...
7,471
Bug 7471 JavaModelException in type hierarchy
From 7442 (only the bottom part is relevant for this PR). Martin why are we logging this exception? It looks like a case that can happen and that we should handle. ==== I was debugging a new plug-in when the UI in the master workbench froze on me. I was playing around with the editor's title. I had implemented a getTit...
resolved fixed
78fc002
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T11:44:20Z
2002-01-11T09:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java
* Returns <code>true</code> if the given filter is set. */ public boolean hasMemberFilter(int filterProperty) { return fFilter.hasFilter(filterProperty); } /** * Saves the state of the filter actions */ public void saveState(IMemento memento) { memento.putString(TAG_HIDEFIELDS, String.valueOf(hasMember...
7,471
Bug 7471 JavaModelException in type hierarchy
From 7442 (only the bottom part is relevant for this PR). Martin why are we logging this exception? It looks like a case that can happen and that we should handle. ==== I was debugging a new plug-in when the UI in the master workbench froze on me. I was playing around with the editor's title. I had implemented a getTit...
resolved fixed
78fc002
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T11:44:20Z
2002-01-11T09:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java
showInheritedMethods(set); ScrollBar bar= getTable().getVerticalBar(); if (bar != null) { Integer vScroll= memento.getInteger(TAG_VERTICAL_SCROLL); if (vScroll != null) { bar.setSelection(vScroll.intValue()); } } } /** * Attaches a contextmenu listener to the table */ public void initCont...
7,471
Bug 7471 JavaModelException in type hierarchy
From 7442 (only the bottom part is relevant for this PR). Martin why are we logging this exception? It looks like a case that can happen and that we should handle. ==== I was debugging a new plug-in when the UI in the master workbench froze on me. I was playing around with the editor's title. I had implemented a getTit...
resolved fixed
78fc002
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T11:44:20Z
2002-01-11T09:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java
menu.appendToGroup(IContextMenuConstants.GROUP_OPEN, fOpen); } ContextMenuGroup.add(menu, fStandardGroups, this); } /** * Fills up the tool bar with items for the method viewer * Should be called by the creator of the tool bar */ public void contributeToToolBar(ToolBarManager tbm) { tbm.add(fShowInherite...
7,471
Bug 7471 JavaModelException in type hierarchy
From 7442 (only the bottom part is relevant for this PR). Martin why are we logging this exception? It looks like a case that can happen and that we should handle. ==== I was debugging a new plug-in when the UI in the master workbench froze on me. I was playing around with the editor's title. I had implemented a getTit...
resolved fixed
78fc002
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T11:44:20Z
2002-01-11T09:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java
* @see StructuredViewer#associate(Object, Item) */ protected void associate(Object element, Item item) { if (item.getData() != element) { fProblemItemMapper.addToMap(element, item); } super.associate(element, item); } /* * @see StructuredViewer#disassociate(Item) */ protected void disassociate(Ite...
7,471
Bug 7471 JavaModelException in type hierarchy
From 7442 (only the bottom part is relevant for this PR). Martin why are we logging this exception? It looks like a case that can happen and that we should handle. ==== I was debugging a new plug-in when the UI in the master workbench froze on me. I was playing around with the editor's title. I had implemented a getTit...
resolved fixed
78fc002
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T11:44:20Z
2002-01-11T09:06:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java
IMethod method= (IMethod) curr; IMethod similar= findSimilarMethod(method, currElements); if (similar != null) { newSelectionElements.add(similar); } } } newSelection= new StructuredSelection(newSelectionElements); } catch (JavaModelException e) { JavaPlugin.log(e); } }...
6,970
Bug 6970 Hierarchy tick marks out of sync
Build 20011211 - open org.eclipse.jface.actions.IAction - add method: public void setMenuCreator(IMenuCreator creator) { } - build - error mark shows up in task list and editor tab (method shouldn't have body), but not in hierarchy - make mod and save - hierarchy now shows tick - fix the problem and build - hierarchy s...
resolved fixed
7eb1810
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T12:59:38Z
2001-12-14T22:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewer.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.typehierarchy;
6,970
Bug 6970 Hierarchy tick marks out of sync
Build 20011211 - open org.eclipse.jface.actions.IAction - add method: public void setMenuCreator(IMenuCreator creator) { } - build - error mark shows up in task list and editor tab (method shouldn't have body), but not in hierarchy - make mod and save - hierarchy now shows tick - fix the problem and build - hierarchy s...
resolved fixed
7eb1810
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T12:59:38Z
2001-12-14T22:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewer.java
import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Menu; import org.eclipse.swt.widgets.Tree; import org.eclipse.jface.action.IMenuListener; import org.eclipse.jface.action.IMenuManager; import org.eclipse.jface.action.MenuManager; import org.eclipse.jface.util.Assert; ...
6,970
Bug 6970 Hierarchy tick marks out of sync
Build 20011211 - open org.eclipse.jface.actions.IAction - add method: public void setMenuCreator(IMenuCreator creator) { } - build - error mark shows up in task list and editor tab (method shouldn't have body), but not in hierarchy - make mod and save - hierarchy now shows tick - fix the problem and build - hierarchy s...
resolved fixed
7eb1810
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T12:59:38Z
2001-12-14T22:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewer.java
private OpenJavaElementAction fOpen; private ShowInPackageViewAction fShowInPackageViewAction; private ContextMenuGroup[] fStandardGroups; public TypeHierarchyViewer(Composite parent, IContentProvider contentProvider, ILabelProvider lprovider, IWorkbenchPart part) { super(new Tree(parent, SWT.SINGLE)); ...
6,970
Bug 6970 Hierarchy tick marks out of sync
Build 20011211 - open org.eclipse.jface.actions.IAction - add method: public void setMenuCreator(IMenuCreator creator) { } - build - error mark shows up in task list and editor tab (method shouldn't have body), but not in hierarchy - make mod and save - hierarchy now shows tick - fix the problem and build - hierarchy s...
resolved fixed
7eb1810
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T12:59:38Z
2001-12-14T22:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewer.java
fOpen= new OpenJavaElementAction(this); addDoubleClickListener(new IDoubleClickListener() { public void doubleClick(DoubleClickEvent event) { fOpen.run(); } }); fShowInPackageViewAction= new ShowInPackageViewAction(); fStandardGroups= new ContextMenuGroup[] { new JavaSearchGroup(), new NewGroup(), ...
6,970
Bug 6970 Hierarchy tick marks out of sync
Build 20011211 - open org.eclipse.jface.actions.IAction - add method: public void setMenuCreator(IMenuCreator creator) { } - build - error mark shows up in task list and editor tab (method shouldn't have body), but not in hierarchy - make mod and save - hierarchy now shows tick - fix the problem and build - hierarchy s...
resolved fixed
7eb1810
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T12:59:38Z
2001-12-14T22:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewer.java
menu.appendToGroup(IContextMenuConstants.GROUP_OPEN, fOpen); } menu.appendToGroup(IContextMenuConstants.GROUP_SHOW, fShowInPackageViewAction); ContextMenuGroup.add(menu, fStandardGroups, this); } /** * Set the member filter */ public void setMemberFilter(IMember[] memberFilter) { TypeHierarchyConte...
6,970
Bug 6970 Hierarchy tick marks out of sync
Build 20011211 - open org.eclipse.jface.actions.IAction - add method: public void setMenuCreator(IMenuCreator creator) { } - build - error mark shows up in task list and editor tab (method shouldn't have body), but not in hierarchy - make mod and save - hierarchy now shows tick - fix the problem and build - hierarchy s...
resolved fixed
7eb1810
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T12:59:38Z
2001-12-14T22:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewer.java
* Returns true if the hierarchy contains elements. Returns one of them * With member filtering it is possible that no elements are visible */ public Object containsElements() { TypeHierarchyContentProvider contentProvider= getHierarchyContentProvider(); if (contentProvider != null) { Object[] elements= con...
6,970
Bug 6970 Hierarchy tick marks out of sync
Build 20011211 - open org.eclipse.jface.actions.IAction - add method: public void setMenuCreator(IMenuCreator creator) { } - build - error mark shows up in task list and editor tab (method shouldn't have body), but not in hierarchy - make mod and save - hierarchy now shows tick - fix the problem and build - hierarchy s...
resolved fixed
7eb1810
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T12:59:38Z
2001-12-14T22:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewer.java
/** * Returns true if the hierarchy contains element the element. */ public boolean isElementShown(Object element) { return findItem(element) != null; } /** * Updates the content of this viewer: refresh and expanding the tree in the way wanted. */ public abstract void updateContent(); /** * Retur...
6,970
Bug 6970 Hierarchy tick marks out of sync
Build 20011211 - open org.eclipse.jface.actions.IAction - add method: public void setMenuCreator(IMenuCreator creator) { } - build - error mark shows up in task list and editor tab (method shouldn't have body), but not in hierarchy - make mod and save - hierarchy now shows tick - fix the problem and build - hierarchy s...
resolved fixed
7eb1810
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T12:59:38Z
2001-12-14T22:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ProblemTreeViewer.java
package org.eclipse.jdt.internal.ui.viewsupport; import java.util.Set; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Control; import org.eclipse.swt.widgets.Item; import org.eclipse.swt.widgets.Tree; import org.eclipse.swt.widgets.Widget; import org.eclipse.core.resources.IResource; import or...
6,970
Bug 6970 Hierarchy tick marks out of sync
Build 20011211 - open org.eclipse.jface.actions.IAction - add method: public void setMenuCreator(IMenuCreator creator) { } - build - error mark shows up in task list and editor tab (method shouldn't have body), but not in hierarchy - make mod and save - hierarchy now shows tick - fix the problem and build - hierarchy s...
resolved fixed
7eb1810
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T12:59:38Z
2001-12-14T22:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ProblemTreeViewer.java
private ProblemItemMapper fProblemItemMapper; /* * @see TreeViewer#TreeViewer(Composite) */ public ProblemTreeViewer(Composite parent) { super(parent); initMapper(); } /* * @see TreeViewer#TreeViewer(Composite, int) */ public ProblemTreeViewer(Composite parent, int style) { super(parent, style); in...
6,970
Bug 6970 Hierarchy tick marks out of sync
Build 20011211 - open org.eclipse.jface.actions.IAction - add method: public void setMenuCreator(IMenuCreator creator) { } - build - error mark shows up in task list and editor tab (method shouldn't have body), but not in hierarchy - make mod and save - hierarchy now shows tick - fix the problem and build - hierarchy s...
resolved fixed
7eb1810
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T12:59:38Z
2001-12-14T22:46:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ProblemTreeViewer.java
*/ public void problemsChanged(final Set changed) { Control control= getControl(); if (control != null && !control.isDisposed()) { control.getDisplay().asyncExec(new Runnable() { public void run() { fProblemItemMapper.problemsChanged(changed, (ILabelProvider)getLabelProvider()); } }); } } ...
7,481
Bug 7481 JME in compare
Java Model Exception: Java Model Status [B does not exist.] Stack trace: java/lang/Throwable.<init>()V java/lang/Throwable.<init>(Ljava/lang/String;)V org/eclipse/core/runtime/CoreException.<init> (Lorg/eclipse/core/runtime/IStatus;)V org/eclipse/jdt/core/JavaModelException.<init> (Lorg/eclipse/jdt/core/IJavaModelStatu...
resolved fixed
ac7ffd4
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T15:04:57Z
2002-01-11T11:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.compare; import java.io.InputStream; import java.util.*; import org.eclipse.jface.text.*; import org.eclipse.core.runtime.CoreException; import org.eclipse.jdt.core.*; import org.eclipse.jdt.internal.compiler.*; im...
7,481
Bug 7481 JME in compare
Java Model Exception: Java Model Status [B does not exist.] Stack trace: java/lang/Throwable.<init>()V java/lang/Throwable.<init>(Ljava/lang/String;)V org/eclipse/core/runtime/CoreException.<init> (Lorg/eclipse/core/runtime/IStatus;)V org/eclipse/jdt/core/JavaModelException.<init> (Lorg/eclipse/jdt/core/IJavaModelStatu...
resolved fixed
ac7ffd4
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T15:04:57Z
2002-01-11T11:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java
/** * Used to bail out from ProblemFactory. */ private static class ParseError extends Error { } /** * This problem factory aborts parsing on first error. */ static class ProblemFactory implements IProblemFactory { public IProblem createProblem(char[] originatingFileName, int problemId, String[] argu...
7,481
Bug 7481 JME in compare
Java Model Exception: Java Model Status [B does not exist.] Stack trace: java/lang/Throwable.<init>()V java/lang/Throwable.<init>(Ljava/lang/String;)V org/eclipse/core/runtime/CoreException.<init> (Lorg/eclipse/core/runtime/IStatus;)V org/eclipse/jdt/core/JavaModelException.<init> (Lorg/eclipse/jdt/core/IJavaModelStatu...
resolved fixed
ac7ffd4
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T15:04:57Z
2002-01-11T11:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java
boolean fIsOut= false; JavaNode fAncestor= null; JavaNode fLeft= null; JavaNode fRight= null; ArrayList fChildren= new ArrayList(); void add(IDiffElement diff) { fChildren.add(diff); } void setDiff(ICompareInput diff) { if (fIsOut) return; fIsOut= true; JavaNode a= (Jav...
7,481
Bug 7481 JME in compare
Java Model Exception: Java Model Status [B does not exist.] Stack trace: java/lang/Throwable.<init>()V java/lang/Throwable.<init>(Ljava/lang/String;)V org/eclipse/core/runtime/CoreException.<init> (Lorg/eclipse/core/runtime/IStatus;)V org/eclipse/jdt/core/JavaModelException.<init> (Lorg/eclipse/jdt/core/IJavaModelStatu...
resolved fixed
ac7ffd4
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T15:04:57Z
2002-01-11T11:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java
if (fLeft != null) return; fLeft= y; } if (m != null) { if (fRight != null) return; fRight= m; } fIsOut= false; } /** * Returns true if some nodes could be successfully combined into one. */ boolean matches() { return !fIsOut && fAncestor != null && fLeft != nul...
7,481
Bug 7481 JME in compare
Java Model Exception: Java Model Status [B does not exist.] Stack trace: java/lang/Throwable.<init>()V java/lang/Throwable.<init>(Ljava/lang/String;)V org/eclipse/core/runtime/CoreException.<init> (Lorg/eclipse/core/runtime/IStatus;)V org/eclipse/jdt/core/JavaModelException.<init> (Lorg/eclipse/jdt/core/IJavaModelStatu...
resolved fixed
ac7ffd4
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T15:04:57Z
2002-01-11T11:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java
/** * Returns a tree of JavaNodes for the given input * which must implement the IStreamContentAccessor interface. * In case of error null is returned. */ public IStructureComparator getStructure(final Object input) { String contents= null; if (input instanceof IStreamContentAccessor) { IStreamConten...
7,481
Bug 7481 JME in compare
Java Model Exception: Java Model Status [B does not exist.] Stack trace: java/lang/Throwable.<init>()V java/lang/Throwable.<init>(Ljava/lang/String;)V org/eclipse/core/runtime/CoreException.<init> (Lorg/eclipse/core/runtime/IStatus;)V org/eclipse/jdt/core/JavaModelException.<init> (Lorg/eclipse/jdt/core/IJavaModelStatu...
resolved fixed
ac7ffd4
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T15:04:57Z
2002-01-11T11:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java
boolean isEditable= false; if (input instanceof IEditableContent) isEditable= ((IEditableContent) input).isEditable(); JavaNode root= new JavaNode(doc, isEditable) { void nodeChanged(JavaNode node) { save(this, input); } }; JavaParseTreeBuilder builder= new JavaParseTreeBuilder(root...
7,481
Bug 7481 JME in compare
Java Model Exception: Java Model Status [B does not exist.] Stack trace: java/lang/Throwable.<init>()V java/lang/Throwable.<init>(Ljava/lang/String;)V org/eclipse/core/runtime/CoreException.<init> (Lorg/eclipse/core/runtime/IStatus;)V org/eclipse/jdt/core/JavaModelException.<init> (Lorg/eclipse/jdt/core/IJavaModelStatu...
resolved fixed
ac7ffd4
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T15:04:57Z
2002-01-11T11:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java
int n= contents.length(); char[] buffer= new char[n]; contents.getChars(0, n, buffer, 0); Document doc= new Document(contents); IDocumentPartitioner dp= JavaCompareUtilities.createJavaPartitioner(); if (dp != null) { doc.setDocumentPartitioner(dp); dp.connect(doc); } JavaNode ro...
7,481
Bug 7481 JME in compare
Java Model Exception: Java Model Status [B does not exist.] Stack trace: java/lang/Throwable.<init>()V java/lang/Throwable.<init>(Ljava/lang/String;)V org/eclipse/core/runtime/CoreException.<init> (Lorg/eclipse/core/runtime/IStatus;)V org/eclipse/jdt/core/JavaModelException.<init> (Lorg/eclipse/jdt/core/IJavaModelStatu...
resolved fixed
ac7ffd4
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T15:04:57Z
2002-01-11T11:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java
public boolean canSave() { return true; } public void save(IStructureComparator node, Object input) { if (node instanceof JavaNode && input instanceof IEditableContent) { IDocument document= ((JavaNode)node).getDocument(); IEditableContent bca= (IEditableContent) input; bca.setContent(document.get().ge...
7,481
Bug 7481 JME in compare
Java Model Exception: Java Model Status [B does not exist.] Stack trace: java/lang/Throwable.<init>()V java/lang/Throwable.<init>(Ljava/lang/String;)V org/eclipse/core/runtime/CoreException.<init> (Lorg/eclipse/core/runtime/IStatus;)V org/eclipse/jdt/core/JavaModelException.<init> (Lorg/eclipse/jdt/core/IJavaModelStatu...
resolved fixed
ac7ffd4
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T15:04:57Z
2002-01-11T11:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java
JavaPlugin.log(ex); return null; } if (ignoreWhiteSpace) { StringBuffer buf= new StringBuffer(); Scanner scanner= new Scanner(false, false); scanner.setSourceBuffer(content.toCharArray()); try { while (scanner.getNextToken() != TerminalSymbols.TokenNameEOF) buf.append...
7,481
Bug 7481 JME in compare
Java Model Exception: Java Model Status [B does not exist.] Stack trace: java/lang/Throwable.<init>()V java/lang/Throwable.<init>(Ljava/lang/String;)V org/eclipse/core/runtime/CoreException.<init> (Lorg/eclipse/core/runtime/IStatus;)V org/eclipse/jdt/core/JavaModelException.<init> (Lorg/eclipse/jdt/core/IJavaModelStatu...
resolved fixed
ac7ffd4
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T15:04:57Z
2002-01-11T11:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java
} /** * Tries to detect certain combinations of additons and deletions * as renames or signature changes and foldes them into a single node. */ public void rewriteTree(Differencer differencer, IDiffContainer root) { HashMap map= new HashMap(10); Object[] children= root.getChildren(); for (int i=...
7,481
Bug 7481 JME in compare
Java Model Exception: Java Model Status [B does not exist.] Stack trace: java/lang/Throwable.<init>()V java/lang/Throwable.<init>(Ljava/lang/String;)V org/eclipse/core/runtime/CoreException.<init> (Lorg/eclipse/core/runtime/IStatus;)V org/eclipse/jdt/core/JavaModelException.<init> (Lorg/eclipse/jdt/core/IJavaModelStatu...
resolved fixed
ac7ffd4
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T15:04:57Z
2002-01-11T11:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java
String argList= jn.extractArgumentList(); RewriteInfo argInfo= null; if (argList != null && !argList.equals("()")) { argInfo= (RewriteInfo) map.get(argList); if (argInfo == null) { argInfo= new RewriteInfo(); map.put(argList, argInfo); } argInfo.add(diff); } switch ...
7,481
Bug 7481 JME in compare
Java Model Exception: Java Model Status [B does not exist.] Stack trace: java/lang/Throwable.<init>()V java/lang/Throwable.<init>(Ljava/lang/String;)V org/eclipse/core/runtime/CoreException.<init> (Lorg/eclipse/core/runtime/IStatus;)V org/eclipse/jdt/core/JavaModelException.<init> (Lorg/eclipse/jdt/core/IJavaModelStatu...
resolved fixed
ac7ffd4
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T15:04:57Z
2002-01-11T11:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java
if (diff instanceof IDiffContainer) rewriteTree(differencer, (IDiffContainer)diff); } Iterator it= map.keySet().iterator(); while (it.hasNext()) { String name= (String) it.next(); RewriteInfo i= (RewriteInfo) map.get(name); if (i.matches()) { DiffNode d= (DiffNode) differ...
7,481
Bug 7481 JME in compare
Java Model Exception: Java Model Status [B does not exist.] Stack trace: java/lang/Throwable.<init>()V java/lang/Throwable.<init>(Ljava/lang/String;)V org/eclipse/core/runtime/CoreException.<init> (Lorg/eclipse/core/runtime/IStatus;)V org/eclipse/jdt/core/JavaModelException.<init> (Lorg/eclipse/jdt/core/IJavaModelStatu...
resolved fixed
ac7ffd4
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T15:04:57Z
2002-01-11T11:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java
/** * If selector is an IJavaElement this method tries to return an * IStructureComparator object for it. * In case of error or if the given selector cannot be found * null is returned. * @param selector the IJavaElement to extract * @param input must implement the IStreamContentAccessor interface. */ pu...
7,481
Bug 7481 JME in compare
Java Model Exception: Java Model Status [B does not exist.] Stack trace: java/lang/Throwable.<init>()V java/lang/Throwable.<init>(Ljava/lang/String;)V org/eclipse/core/runtime/CoreException.<init> (Lorg/eclipse/core/runtime/IStatus;)V org/eclipse/jdt/core/JavaModelException.<init> (Lorg/eclipse/jdt/core/IJavaModelStatu...
resolved fixed
ac7ffd4
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T15:04:57Z
2002-01-11T11:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java
String name= JavaCompareUtilities.getJavaElementID(je); if (name == null) return null; args.add(name); if (je instanceof IWorkingCopy || je instanceof ICompilationUnit) break; je= je.getParent(); } int n= args.size(); String[] path= new String[n]; for (int i= 0; i < n; i++) path[i]=...
7,481
Bug 7481 JME in compare
Java Model Exception: Java Model Status [B does not exist.] Stack trace: java/lang/Throwable.<init>()V java/lang/Throwable.<init>(Ljava/lang/String;)V org/eclipse/core/runtime/CoreException.<init> (Lorg/eclipse/core/runtime/IStatus;)V org/eclipse/jdt/core/JavaModelException.<init> (Lorg/eclipse/jdt/core/IJavaModelStatu...
resolved fixed
ac7ffd4
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T15:04:57Z
2002-01-11T11:53:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java
String n1= null; if (child instanceof DocumentRangeNode) n1= ((DocumentRangeNode)child).getId(); if (n1 == null) n1= ((ITypedElement)child).getName(); String n2= path[index]; if (n1.equals(n2)) { if (index == path.length-1) return child; IStructureComparator r...
7,402
Bug 7402 Packages view sorts case senstive
If I have three folders aa Ba and ba They will be sorted in the order Bab aa ba But they should be in case insensitive order aa Bab ba
verified fixed
806c824
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T15:30:52Z
2002-01-09T21:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementSorter.java
package org.eclipse.jdt.internal.ui.viewsupport; import org.eclipse.jface.viewers.Viewer; import org.eclipse.jface.viewers.ViewerSorter; import org.eclipse.core.resources.IContainer; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IResource; import ...
7,402
Bug 7402 Packages view sorts case senstive
If I have three folders aa Ba and ba They will be sorted in the order Bab aa ba But they should be in case insensitive order aa Bab ba
verified fixed
806c824
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T15:30:52Z
2002-01-09T21:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementSorter.java
private static final int CU_MEMBERS= 0; private static final int INNER_TYPES= 1; private static final int CONSTRUCTORS= 2; private static final int STATIC_INIT= 3; private static final int STATIC_METHODS= 4; private static final int INIT= 5; private static final int METHODS= 6; private static final int STATIC_FI...
7,402
Bug 7402 Packages view sorts case senstive
If I have three folders aa Ba and ba They will be sorted in the order Bab aa ba But they should be in case insensitive order aa Bab ba
verified fixed
806c824
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T15:30:52Z
2002-01-09T21:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementSorter.java
private static final int FIELDS= 8; private static final int JAVAELEMENTS= 9; private static final int PACKAGEFRAGMENTROOTS= 10; private static final int JAVAPROJECTS= 11; private static final int RESOURCEPACKAGES= 12; private static final int RESOURCEFOLDERS= 13; private static final int RESOURCES= 14; private ...
7,402
Bug 7402 Packages view sorts case senstive
If I have three folders aa Ba and ba They will be sorted in the order Bab aa ba But they should be in case insensitive order aa Bab ba
verified fixed
806c824
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T15:30:52Z
2002-01-09T21:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementSorter.java
* @see ViewerSorter#category */ public int category(Object element) { if (element instanceof IJavaElement) { try { IJavaElement je= (IJavaElement) element; switch (je.getElementType()) { case IJavaElement.METHOD: { IMethod method= (IMethod) je; if (method.isConstructor()) r...
7,402
Bug 7402 Packages view sorts case senstive
If I have three folders aa Ba and ba They will be sorted in the order Bab aa ba But they should be in case insensitive order aa Bab ba
verified fixed
806c824
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T15:30:52Z
2002-01-09T21:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementSorter.java
} else { return CU_MEMBERS; } } case IJavaElement.PACKAGE_DECLARATION: return CU_MEMBERS; case IJavaElement.IMPORT_CONTAINER: return CU_MEMBERS; case IJavaElement.PACKAGE_FRAGMENT: IPackageFragment pack= (IPackageFragment) je; if (!pack.hasChildren() && pack.getN...
7,402
Bug 7402 Packages view sorts case senstive
If I have three folders aa Ba and ba They will be sorted in the order Bab aa ba But they should be in case insensitive order aa Bab ba
verified fixed
806c824
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T15:30:52Z
2002-01-09T21:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementSorter.java
} else if (element instanceof IContainer) { return RESOURCEFOLDERS; } else if (element instanceof IStorage) { return STORAGE; } return OTHERS; } /* * @see ViewerSorter#compare */ public int compare(Viewer viewer, Object e1, Object e2) { int cat1= category(e1); int cat2= category(e2); if (...
7,402
Bug 7402 Packages view sorts case senstive
If I have three folders aa Ba and ba They will be sorted in the order Bab aa ba But they should be in case insensitive order aa Bab ba
verified fixed
806c824
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T15:30:52Z
2002-01-09T21:00:00Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementSorter.java
return p1 - p2; case STORAGE: return ((IStorage)e1).getName().compareToIgnoreCase(((IStorage)e2).getName()); case RESOURCES: case RESOURCEFOLDERS: return ((IResource)e1).getName().compareToIgnoreCase(((IResource)e2).getName()); case RESOURCEPACKAGES: case JAVAPROJECTS: return ((IJavaElement)...
6,410
Bug 6410 File unchanged but dirtied by code assist
1122. Open a Java file. Place the cursor inside the left-most parenthesis of a method call. For example, consider "I" to be the cursor below: Object o = anotherObject.method(I); Press Ctrl-Space. The file is dirtied but not changed, and code assist does not appear. If code assist has nothing to suggest, it should not d...
verified fixed
588ffa6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T17:07:14Z
2001-11-29T02:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java
package org.eclipse.jdt.internal.ui.text.java; /* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ import org.eclipse.jface.util.Assert; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.graphics.Point; import org.eclipse.core.runtime.CoreException; import org.eclipse.jdt.core.ICompilati...
6,410
Bug 6410 File unchanged but dirtied by code assist
1122. Open a Java file. Place the cursor inside the left-most parenthesis of a method call. For example, consider "I" to be the cursor below: Object o = anotherObject.method(I); Press Ctrl-Space. The file is dirtied but not changed, and code assist does not appear. If code assist has nothing to suggest, it should not d...
verified fixed
588ffa6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T17:07:14Z
2001-11-29T02:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java
private String fDisplayString; private String fReplacementString; private int fReplacementOffset; private int fReplacementLength; private int fCursorPosition; private Image fImage; private IContextInformation fContextInformation; private int fContextInformationPosition; private ProposalInfo fProposalInfo; priv...
6,410
Bug 6410 File unchanged but dirtied by code assist
1122. Open a Java file. Place the cursor inside the left-most parenthesis of a method call. For example, consider "I" to be the cursor below: Object o = anotherObject.method(I); Press Ctrl-Space. The file is dirtied but not changed, and code assist does not appear. If code assist has nothing to suggest, it should not d...
verified fixed
588ffa6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T17:07:14Z
2001-11-29T02:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java
fDisplayString= displayString != null ? displayString : replacementString; fCursorPosition= replacementString.length(); fContextInformation= null; fContextInformationPosition= -1; fImportDeclaration= null; fTriggerCharacters= null; fProposalInfo= null; } /** * Sets the context information. * @para...
6,410
Bug 6410 File unchanged but dirtied by code assist
1122. Open a Java file. Place the cursor inside the left-most parenthesis of a method call. For example, consider "I" to be the cursor below: Object o = anotherObject.method(I); Press Ctrl-Space. The file is dirtied but not changed, and code assist does not appear. If code assist has nothing to suggest, it should not d...
verified fixed
588ffa6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T17:07:14Z
2001-11-29T02:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java
* @param triggerCharacters The set of characters which can trigger the application of this completion proposal */ public void setTriggerCharacters(char[] triggerCharacters) { fTriggerCharacters= triggerCharacters; } /** * Sets the proposal info. * @param additionalProposalInfo The additional information as...
6,410
Bug 6410 File unchanged but dirtied by code assist
1122. Open a Java file. Place the cursor inside the left-most parenthesis of a method call. For example, consider "I" to be the cursor below: Object o = anotherObject.method(I); Press Ctrl-Space. The file is dirtied but not changed, and code assist does not appear. If code assist has nothing to suggest, it should not d...
verified fixed
588ffa6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T17:07:14Z
2001-11-29T02:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java
ICompilationUnit cu= (ICompilationUnit) JavaModelUtil.findElementOfKind(fImportDeclaration, IJavaElement.COMPILATION_UNIT); if (cu != null) { try { IType[] types= cu.getTypes(); if (types.length == 0 || types[0].getSourceRange().getOffset() > fReplacementOffset) { return; } String[] pref...
6,410
Bug 6410 File unchanged but dirtied by code assist
1122. Open a Java file. Place the cursor inside the left-most parenthesis of a method call. For example, consider "I" to be the cursor below: Object o = anotherObject.method(I); Press Ctrl-Space. The file is dirtied but not changed, and code assist does not appear. If code assist has nothing to suggest, it should not d...
verified fixed
588ffa6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T17:07:14Z
2001-11-29T02:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java
if (trigger == (char) 0) { document.replace(fReplacementOffset, fReplacementLength, fReplacementString); } else { StringBuffer buffer= new StringBuffer(fReplacementString); if ((fReplacementLength < buffer.length() && buffer.charAt(fReplacementLength) != trigger)) { buffer.insert(fCursorPositio...
6,410
Bug 6410 File unchanged but dirtied by code assist
1122. Open a Java file. Place the cursor inside the left-most parenthesis of a method call. For example, consider "I" to be the cursor below: Object o = anotherObject.method(I); Press Ctrl-Space. The file is dirtied but not changed, and code assist does not appear. If code assist has nothing to suggest, it should not d...
verified fixed
588ffa6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T17:07:14Z
2001-11-29T02:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java
/* * @see ICompletionProposal#getSelection */ public Point getSelection(IDocument document) { return new Point(fReplacementOffset + fCursorPosition, 0); } /* * @see ICompletionProposal#getContextInformation() */ public IContextInformation getContextInformation() { return fContextInformation; } /* * ...
6,410
Bug 6410 File unchanged but dirtied by code assist
1122. Open a Java file. Place the cursor inside the left-most parenthesis of a method call. For example, consider "I" to be the cursor below: Object o = anotherObject.method(I); Press Ctrl-Space. The file is dirtied but not changed, and code assist does not appear. If code assist has nothing to suggest, it should not d...
verified fixed
588ffa6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T17:07:14Z
2001-11-29T02:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java
} return null; } /* * @see ICompletionProposalExtension#getTriggerCharacters() */ public char[] getTriggerCharacters() { return fTriggerCharacters; } /* * @see ICompletionProposalExtension#getContextInformationPosition() */ public int getContextInformationPosition() { return fReplacementOffset + f...
6,410
Bug 6410 File unchanged but dirtied by code assist
1122. Open a Java file. Place the cursor inside the left-most parenthesis of a method call. For example, consider "I" to be the cursor below: Object o = anotherObject.method(I); Press Ctrl-Space. The file is dirtied but not changed, and code assist does not appear. If code assist has nothing to suggest, it should not d...
verified fixed
588ffa6
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-01-11T17:07:14Z
2001-11-29T02:13:20Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCompletionProposal.java
fReplacementOffset= replacementOffset; } /** * Gets the replacement length. * @return Returns a int */ public int getReplacementLength() { return fReplacementLength; } /** * Sets the replacement length. * @param replacementLength The replacementLength to set */ public void setReplacementLength(int ...