Need some help with completion #428
-
Hello, I am working on a WPF project using .NET 8.0 and Visual Studio 2022. I would like to implement code completion functionality as follows: First case: The user opens the completion window using Ctrl+Space, enters some text, and selects the desired item from the list. In this case, the user uses completion to enter an entire word. Second case: In contrast to the first case, the user starts typing text before opening the completion window, and the completion window opens with suggestions based on the text that has already been entered. In this case, the user uses completion to complete an already started entry. The first case works perfectly fine, but the second case is causing me problems. I hope this is clear. Sincerely, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Would you mind explaining what problems you are experiencing? Also, showing parts of what you tried to do would be nice. Thanks |
Beta Was this translation helpful? Give feedback.
-
It's exactly what i need. Thank you. |
Beta Was this translation helpful? Give feedback.
Take a look at the StartOffset and EndOffset properties of the completion window.