Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 58272 - BIDI: The C/ C++ editor doesn't preserve the keyboard language after pressing sapce bar
Summary: BIDI: The C/ C++ editor doesn't preserve the keyboard language after pressing...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Felipe Heidrich CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-13 10:05 EDT by Heba Naguib CLA
Modified: 2004-04-30 18:18 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heba Naguib CLA 2004-04-13 10:05:59 EDT
Tested using Win 2003 Arabic locale, build M8.
1) Create a new C++ project 
2) Insert a new C++ class
3) Change the keyboard language to Arabic and write an Arabic word, then a space

The keyboard language switched back to English
Comment 1 Lina Kemmel CLA 2004-04-21 08:01:43 EDT
The same problem exists in Hebrew.
Automatic setting keyboard language should not occur during inputting data, but 
only as a result of hitting navigation keys (home, end, arrow keys etc.), and 
pointing with a mouse.
Comment 2 Lina Kemmel CLA 2004-04-21 09:30:25 EDT
I think the bug is related to the *Product*: Platform; *Component*: SWT; and it 
will occur in whatever StyledText-based editor.
Comment 3 Kleo Hapitas CLA 2004-04-28 15:05:36 EDT
Sending over to the platform team as it seems to be an SWT issue that impacts 
all StyledText based editors.
Comment 4 Felipe Heidrich CLA 2004-04-29 12:47:53 EDT
The current code always compute the level at the caret offset and update the 
caret image and input keyboard according. It happens that white space level is 
0 (english), causing the bug.

I can changed StyledText to only compute the caret level during 
doMouseLocationChange() and invokeAction().
Comment 5 Felipe Heidrich CLA 2004-04-30 18:18:55 EDT
fixed > 20040430