I'm not sure but may be already fixed this bug... library BCGControlBarPro ver. 8.60.0000
The problem with cursor moving in CBCGPEditCtrl: 1. Run the BCGCBDotNetExample.exe (in \bin folder after installation BCGControlBarPro) 2. Go to main menu File-New-File (select and create new C++ file ) 3. DotNetExample has opened in editor 'C++ Example file'. 4. Remove all content from this edit and set cursor in edit begin symbol place. 5. Press 'tab' key and write any word for example 'example1', and press 'Enter' key. (The cursor will placed on next line.) 6. Write any word for example 'example1', and press 'Enter' key. 7. Repeat few times step 6. 8. Save this file on disk and close this file. 9. Open this file. The file we can see in edit with text that we write on steps 5,6,7. 10. Put the edit cursor to first line of text and at first word "[in this]example1". 11. Press 'Down' key. Result: The cursor moves to the next string in a strange way (with tab offset!!! it's wrong - the cursor must be moved to next line at [in this]example1 ). 12. Press 'Down' key Result: we have strange move again. 13. Press "Up" key - and also we have strange move a the edit cursor
Also this bug is reproduce if step 11,12 replace to mouse cursor try set to word 'example1' begin position - the result is the edit cursor set with tab offset!!!
NOTES: This is bug reproduced only if in editor loaded text file with 'tab' (0x09) symbols. And this is code in CBCGPEditCtrl that not allowed to be overwrite!!!
I'm check by history bug fixing for all grater version that BCGControlBarPro ver. 8.60.0000 - but i not find fix for this!!!
Thank you for the bug report and the detailed scenario. This is the bug in the edit control. The bug still occurs in version 10.21 Pro. We will fix it in the next version.