Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

OLE.Selection cursor position out when extended characters are entered

I'm using OLE.Selection property to get the current cursor position within a procedure.

One of the programmers cut and paste some text from a MS Word document that included some extended characters like the special quotes " that MS Word uses. This pushed the value returned by OLE.Selection out several characters for each extended character entered.

below is some sample text I pasted in. Not sure if your web editor will strip these extended characters out.

Business Façade tier “MagEventViewBF.EventView”

This was entered as a comment near the top of the procedure.

You probably can't do much about this but I thought you should know. :-)

Comments

  • This is an issue with the underlying Scintilla control. Some unicode characters, when translated to UTF8, throw off everything else. We've run into this on many occasions, and as you suspected, there isn't much I can do short of debugging Scintilla itself. It's possible there is a fix, but it's not a high priority.
Sign In or Register to comment.