How do i save a file in fastcoloredtextbox?
问题 I'm developing a syntax editor in C# where you can write code in the FastColoredTextBox component, then saving it as a .html file. However, I have the code for the Save As option. The only problem I have is when the user saves the .html file, the same Save As dialog pops up. But we have already saved it before. I want to just press Ctrl+S on the keyboard and it will automatically save the file changes after saving as a .html file of course. Here's the code I have for the Save As option.