Replies: 1 comment 5 replies
-
The same way you draw red squiggles for errors you could draw gray text in a VisualLine, that is not part of the TextDocument. No? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We use AvalonEdit for a built-in editor for our data files, which are text-based but often tabular in nature. We are looking at a feature which will populate some things in the file, visually, but I don't want to just paste the text in. Essentially I want something like the "preview text" that many IDEs have when they auto-suggest things (see screenshot from VS). But this is distinct from the dropdown popup for auto-complete... I want text that is visible in the line, but not selectable or actually there. I'm happy to dive deep to look into implementing this, but a. I wanted to see if this was already available in some capacity and I just didn't know the right keywords to use, or b. if anyone had already looked into something like this before.
![image](https://private-user-images.githubusercontent.com/12516896/262443581-89d377ba-2629-489a-8031-36a4730c0405.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI4Mzk5NDgsIm5iZiI6MTcyMjgzOTY0OCwicGF0aCI6Ii8xMjUxNjg5Ni8yNjI0NDM1ODEtODlkMzc3YmEtMjYyOS00ODlhLTgwMzEtMzZhNDczMGMwNDA1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODA1VDA2MzQwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI5MmZlZGFkMThiMzBhMzRhYTNhMTk1NmUxZTBjMTBkOGE3MGNhNGQ1NGY0ZDU0ZWM5MTkyODliMGFmMzdkODkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.53-dgyLHEM5z6VRB9u3M8lW34IejcVvF1hUNSmKEuMM)
Beta Was this translation helpful? Give feedback.
All reactions