Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 33294

Summary: [painting] "Current Line Highlight" gets left behind when cursor moves with Emacs Ctrl-N and Ctrl-P
Product: [Eclipse Project] Platform Reporter: Fares Abdullah <Fares_Abdullah>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Fares Abdullah CLA 2003-02-26 12:13:21 EST
Eclipse build 200302240010
Sun JDK 1.4.1

Reproduce:
1. Switch to Emacs key bindings
2. Open an editor, such as the Java editor or the Default text editor, and make 
sure that the "current line highlight" line is enabled
3. Move the cursor up and down using ctrl-p and ctrl-n.

Notice that the highlight line doesn't follow the cursor until any other key is 
pressed.
Comment 1 Tom Hofmann CLA 2003-04-22 11:43:57 EDT
Similar, using build 200303272130 on Windows 2000 with JDK 1.4.1_02:

In a Java Editor edit the following class:

public class Test {

	private void foo() {
		a;
		b;
		c;
	}

}

1. Select "Show source of selected element only"
2. Select foo() in the Outline (Editor displays method only)
3. Select the entire first line of code in foo ("a;")
4. Cut the selection and paste it
5. Revert the file (File->Revert, or via context menu)
6. Move the cursor - the old current line highlight is not removed
Comment 2 Dani Megert CLA 2004-11-03 06:21:01 EST
works for me using I200411022000