Community
Participate
Working Groups
Contents of clickable area of Link (when version of comctl32.dll < 6) can be split by reordering. Using bidi markers can help to solve this problem: ... int parseMnemonics (char[] buffer, int start, int end, StringBuffer result) { int mnemonic = -1, index = start; if (OS.COMCTL32_MAJOR < 6) { //bidi start if ((getStyle() & SWT.RIGHT_TO_LEFT)!= 0) result.append('\u202b'); //RLE else result.append('\u202a'); //LRE } //bidi end while (index < end) { if (buffer [index] == '&') { if (index + 1 < end && buffer [index + 1] == '&') { result.append (buffer [index]); index++; } else { mnemonic = result.length(); } } else { result.append (buffer [index]); } index++; } if (OS.COMCTL32_MAJOR < 6) result.append('\u202c'); //PDF //bidi return mnemonic; } ...
Created attachment 30774 [details] Link and bidi markers.
Semion, this problem is not the same as Bug 102584 ?
Yes, it is the same bug - my name is in CC there, and in spite of this I didn't notice it...
*** This bug has been marked as a duplicate of 102584 ***