New Post: Add custom snippets to Snippets.SnippetList
_frm.codeEditor.Snippets.List has all the methods for adding and removing snippets. You can use the configuration with custom path to do this from an XML file but that's probably a lot more work. The...
View ArticleNew Post: Add custom snippets to Snippets.SnippetList
Thanks for the quick reply. Can you tell me the method to redirect the list to load already created snippets; default .NET snippets for example? I can only see methods for adding individual snippets.
View ArticleNew Post: Add custom snippets to Snippets.SnippetList
I'm honestly not trying to be pedantic but there are no .NET snippets. Things like snippets, autocompletes and keywords are loaded from the configuration system which is bound to the language you're...
View ArticleNew Post: Add custom snippets to Snippets.SnippetList
And XLinq can make adding your own list of snippets super easy. Assume you have an XML file with a flat list of snippets in the same format as the config file... var snippets = XDocument.Load(somePath)...
View ArticleNew Post: Add bracket on new line
Hi, Been trying to this but struggling, I have the following code: private void scintilla1_CharAdded(object sender, ScintillaNET.CharAddedEventArgs e) { ScintillaNET.Scintilla editor = sender as...
View ArticleNew Post: Add bracket on new line
Is your question how to place the closing brace on a new line instead of on the same line? In that case, just add a newline character before your brace character in the inserted...
View ArticleNew Post: Problem with editing
I've added to the program editor and works flawlessly. When editing the form (VS 2010) I get the error:The variable 'scintilla1' is either undeclared or was never assigned. Designer file is present in...
View ArticleNew Post: Problem with editing
Sounds like an exception was thrown in the scintilla1 constructor and your control wasn't actually created. Did you get an exception placing it in the Designer? That's when I typically see that happen....
View ArticleNew Post: Horizontal Scroll Bar Issue
Select it programmatically like... scintilla.Select() That fixed it for me.
View ArticleNew Post: [Visual Basic] Making an unfocused Scintilla stay in it's position...
Hi! I am using two Scintilla controls in two SplitContainers... And the first one is supposed to have the same text as the second one, and vice versa. But when I "sync" their text, the other,...
View ArticleNew Post: How to get undo/redo/selectall working
I was looking for help on on selectall and came across this. But figured it out myself. Here you go - Assuming that the control name for scintilla you created is scintilla1Undo If...
View ArticleNew Post: I want hide scrollbars..
Hi all I use ScintillaNet my project. I want hide scrollBars. ScintillaNet not has scroll property. how hide scroll??
View ArticleNew Post: I want hide scrollbars..
I Find it ScintillaNet.Scrolling.ScrollBars = ScrollBars.None; did it.
View ArticleNew Post: NuGet package?
Hi you can realize your nuget package anyway. When you create a nuget package, you can specify a folder where your lexer files are. This folder will be included into the nuget package. When a client...
View ArticleNew Post: How can i use RadScrollBar as custom Scintilla scrollbar
How can i use RadScrollBar as custom Scintilla scrollbar? Is it possible?
View ArticleNew Post: How can i use RadScrollBar as custom Scintilla scrollbar
It's not possible. Scintilla doesn't use a separate control for scrollbars. It use the ones built-in to standard Win32 controls. Jacob
View ArticleNew Post: Text property and syntax hightlight
I also had the same problem: if one changes the text property before the control is added to the parent, highlighting doesn't work. It is triggered by any editing action, but that is weird. So, adding...
View ArticleNew Post: Loss of style info of copied contents of a scilex contrl
Hi, I am using the scilex control from Visual Prolog. I designed styles with different font sizes and background color. When I copy the contents of the control to the clipboard and from there to MS...
View ArticleNew Post: new properties in scintilla NET ?
Hello The latest version of Scintilla ( eg. used in Notepadpp ) when copying text when multiple selection or selection copies the text column is added to all selected lines. If the component is...
View ArticleNew Post: multiline editing in ScintillaNET
Hi, for an app I am creating, I use ScintillaNET. I wonder if it is possible to enable multiline editing. Searching for this delivered no solutions. I know Scintilla has this capability, at least other...
View Article