New Post: ScintillaNET Select
Works for me. To test I created a new form and added a single scintilla control and a single button. I then set the button click event to give focus to the scintilla control. Like this:public partial...
View ArticleNew Post: Find and replace set default search string
By default, the initial value of the Find dialog will be whatever the current selection is in the Scintilla control. I don't believe we currently have a way to easily override that behavior. Jacob
View ArticleNew Post: Release Memory
Hi Jacob, unfortunately this is part of a larger application so do not have a smaller program. The issue is experienced when placing a large amount of text into the control, then attempting to place...
View ArticleNew Post: UpdateUI Event bugged for back-tab?
Wow, that's a really obscure bug, but you're absolutely right. I can confirm the problem. The issue is with the native SciLexer.dll library. With the ScintillaNET 2.6 release we ship version 3.2.3 of...
View ArticleNew Post: Prevent from auto scrolling
Hi, Chapeau! It is a very good Project. We are using ScintillaNET–component in a special markup tool. All is nice, but from time to time it is necessary to insert text without scrolling to the insert...
View ArticleNew Post: No GUI syntax coloring
Hi all, I am new to Scintilla so I am just wondering whether it's worse to dig it or not. Is it possible to use scintilla.net to convert a fragment of source code to a formatted html string? I don't...
View ArticleNew Post: No GUI syntax coloring
ScintillaNET is a Windows Forms control and cannot run outside of a GUI application. Jacob
View ArticleNew Post: No GUI syntax coloring
Thanks, this is unfortunate. Beyond my needs, decoupling from the GUI it would be useful to adapt the core to other technologies such as WPF or Win8Apps. Thanks for saving me time.
View ArticleNew Post: How make CallTips
I don't know how to CallTips are show in editor. I was writed function in actions:private void scintilla1_CallTipClick(object sender, CallTipClickEventArgs e) { // You should always hide the calltip...
View ArticleNew Post: Highlight INI files?
Hi, In the SCide comments it is said that "SciLexer.DLL already has an INI capable lexer". So the SCide.IniLexer class apparently duplicates this lexer and is included just as a sample, I guess. My...
View ArticleNew Post: ScintillaNET crashing on AppendText
ScintillaNET control used in a C# Windows Forms application seems to corrupt memory after using AppendText, and crashes the program. Sometimes this happens with not a very large amount of text, like...
View ArticleNew Post: ScintillaNET crashing on AppendText
Can you provide a sample application? My guess is that it has nothing to do with the amount of text you're appending. Usually this has to do with encoding issues. Scintilla doesn't natively use UTF-16,...
View ArticleNew Post: Highlight INI files?
The native Scintilla lexer for INI files is called "properties" or "props". In the Scintilla header file it is defined as:#define SCLEX_PROPERTIES 9 I apologize that I don't know the exact API to call...
View ArticleNew Post: Release Memory
To answer your question: replacing the entire control contents by calling ResetText/AppendText or just setting the Text property is the correct way to replace all the text in the control. Thanks, Jacob
View ArticleNew Post: Custom Lexer glitch
The demonstration program SCide includes a basic INI custom lexer you can learn from. The implementations provided by blah38621 in the WPF branch (and in the thread above) are much more capable,...
View ArticleNew Post: Highlight INI files?
Thank You! I disabled usage of the SCide.IniLexer class and this code works fine with the built-in lexer:public static class ScintillaConstants { public const int SCE_PROPS_DEFAULT = 0; public const...
View ArticleNew Post: ScintillaNET crashing on AppendText
Sure, as a simple example, this will crash it:for (int i = 0; i < 1400; i++) scintilla1.AppendText("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\n"); Granted that's quite...
View ArticleNew Post: ScintillaNET crashing on AppendText
Ya, I got nothin'. I can't reproduce this no matter how many ways I try. I can change your 'for' loop to 10400 iterations instead of just 1400. I can paste your text snippet until it gets ridiculous....
View ArticleNew Post: ScintillaNET crashing on AppendText
Well let me share the configuration of the system too, maybe something there... So I'm running ScintillaNET v2.6, just recently downloaded the other day. The application is a C# Windows Forms app...
View Article