<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>ScintillaNET Work Item Rss Feed</title><link>http://www.codeplex.com/WorkItem/List.aspx?ProjectName=ScintillaNET</link><description>ScintillaNET Work Item Rss Description</description><item><title>Commented Unassigned: Autocomplete bugs with underscore [34165]</title><link>http://scintillanet.codeplex.com/workitem/34165</link><description>Hello,&lt;br /&gt;&lt;br /&gt;the Autocompletion seems to bug for words that contain an underscore. If I have the following list&amp;#58;&lt;br /&gt;&lt;br /&gt;test&lt;br /&gt;test_2&lt;br /&gt;testvar&lt;br /&gt;&lt;br /&gt;and I enter &amp;#34;testv&amp;#34; then the Autocompletion list gets closed because no entry is found &amp;#40;AutoHide is enabled&amp;#41;.&lt;br /&gt;&lt;br /&gt;I allready checked Lexing.WordChars, here the underscore char is included correctly. Also AutoComplete.FillUpCharacters only contains &amp;#34;.&amp;#40;&amp;#91;&amp;#34; and AutoComplete.StopCharacters doesn&amp;#39;t contain any value, so it should work, right&amp;#63; Also AutoComplete.IsCaseSensitive is set to false.&lt;br /&gt;&lt;br /&gt;The strange thing is that it sometimes does work, but I couldn&amp;#39;t find out any regularity under which circumstances this happens.&lt;br /&gt;Comments: ** Comment from web user: 2manyQuestions ** &lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;this works great, thank you very much! Never thought of changing the sorting order, very nice trick.&lt;/p&gt;</description><author>2manyQuestions</author><pubDate>Mon, 17 Jun 2013 19:32:26 GMT</pubDate><guid isPermaLink="false">Commented Unassigned: Autocomplete bugs with underscore [34165] 20130617073226P</guid></item><item><title>Commented Unassigned: Autocomplete bugs with underscore [34165]</title><link>http://scintillanet.codeplex.com/workitem/34165</link><description>Hello,&lt;br /&gt;&lt;br /&gt;the Autocompletion seems to bug for words that contain an underscore. If I have the following list&amp;#58;&lt;br /&gt;&lt;br /&gt;test&lt;br /&gt;test_2&lt;br /&gt;testvar&lt;br /&gt;&lt;br /&gt;and I enter &amp;#34;testv&amp;#34; then the Autocompletion list gets closed because no entry is found &amp;#40;AutoHide is enabled&amp;#41;.&lt;br /&gt;&lt;br /&gt;I allready checked Lexing.WordChars, here the underscore char is included correctly. Also AutoComplete.FillUpCharacters only contains &amp;#34;.&amp;#40;&amp;#91;&amp;#34; and AutoComplete.StopCharacters doesn&amp;#39;t contain any value, so it should work, right&amp;#63; Also AutoComplete.IsCaseSensitive is set to false.&lt;br /&gt;&lt;br /&gt;The strange thing is that it sometimes does work, but I couldn&amp;#39;t find out any regularity under which circumstances this happens.&lt;br /&gt;Comments: ** Comment from web user: jcbarton ** &lt;p&gt;I had a very similar problem, and it comes down to sorting order.&lt;/p&gt;&lt;p&gt;You need to sort the auto complete list, using ordinal sorting rules, as that is what Scintilla uses. In the case above you need to order them in the auto complete list as:&lt;/p&gt;&lt;p&gt;test&lt;br&gt;textvar&lt;br&gt;test_2&lt;/p&gt;&lt;p&gt;If you are adding them manually/from some other source you could do:&lt;/p&gt;&lt;p&gt;editor.AutoComplete.List.Sort(new AutoCompleteSort());&lt;/p&gt;&lt;p&gt;&lt;br&gt;where AutoCompleteSort is the following (note this is doing a case-insensitive sort as well):&lt;/p&gt;&lt;p&gt;/// &amp;lt;summary&amp;gt;&lt;br&gt;		/// Custom comparer to use when sorting the AutoComplete list&lt;br&gt;		/// &amp;lt;/summary&amp;gt;&lt;br&gt;		private class AutoCompleteSort : IComparer&amp;lt;string&amp;gt;&lt;br&gt;		{&lt;br&gt;			#region IComparer&amp;lt;string&amp;gt; Members&lt;/p&gt;&lt;p&gt;			public int Compare(string x, string y)&lt;br&gt;			{&lt;br&gt;				return String.Compare(x, y, StringComparison.OrdinalIgnoreCase);&lt;br&gt;			}&lt;/p&gt;&lt;p&gt;			#endregion&lt;br&gt;		}&lt;br&gt;&lt;/p&gt;</description><author>jcbarton</author><pubDate>Mon, 17 Jun 2013 09:03:56 GMT</pubDate><guid isPermaLink="false">Commented Unassigned: Autocomplete bugs with underscore [34165] 20130617090356A</guid></item><item><title>Reopened Feature: Request: .ScrollToLine [25115]</title><link>http://scintillanet.codeplex.com/workitem/25115</link><description>Are you able to programming a new method Scrolling.ScrollToLine&amp;#40;n&amp;#41;.&lt;br /&gt;   -Needs to Zero out the X value of horizontal scroll bar&lt;br /&gt;   -Needs to Set the line to equal the very TopLine of the Visible lines in the textbox&lt;br /&gt;   -Should really take the caret with it&lt;br /&gt;&lt;br /&gt;Point 2 is not offered by any current scrolling capabiliteis and then  .ScrollBy is hard to reverse calculate.&lt;br /&gt;</description><author>jacobslusser</author><pubDate>Fri, 14 Jun 2013 07:32:04 GMT</pubDate><guid isPermaLink="false">Reopened Feature: Request: .ScrollToLine [25115] 20130614073204A</guid></item><item><title>Reopened Issue: A problem with searches by ScintillaNet.FindReplace.Find(Range r, Regex findExpression, bool searchUp) and non-ASCII encodings [26168]</title><link>http://scintillanet.codeplex.com/workitem/26168</link><description>A range returned by call of ScintillaNet.FindReplace.Find&amp;#40;Range r, Regex findExpression, bool searchUp&amp;#41; for UTF-8 or Unicode encodings is invalid.&lt;br /&gt;&lt;br /&gt;I made changes in the function and fixed the problem.&lt;br /&gt;Please review my code and commit it to the main source.&lt;br /&gt;&lt;br /&gt;---------------------------------------------------------------&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;public Range Find&amp;#40;Range r, Regex findExpression, bool searchUp&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;    &amp;#47;&amp;#47; Single line and Multi Line in RegExp doesn&amp;#39;t really effect&lt;br /&gt;    &amp;#47;&amp;#47; whether or not a match will include newline characters. This&lt;br /&gt;    &amp;#47;&amp;#47; means we can&amp;#39;t do a line by line search. We have to search&lt;br /&gt;    &amp;#47;&amp;#47; the entire range because it could potentially match the&lt;br /&gt;    &amp;#47;&amp;#47; entire range.&lt;br /&gt;&lt;br /&gt;    string text &amp;#61; r.Text&amp;#59;&lt;br /&gt;    Match m &amp;#61; findExpression.Match&amp;#40;text&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;    if &amp;#40;&amp;#33;m.Success&amp;#41;&lt;br /&gt;        return null&amp;#59;&lt;br /&gt;&lt;br /&gt;    if &amp;#40;searchUp&amp;#41;&lt;br /&gt;    &amp;#123;&lt;br /&gt;        &amp;#47;&amp;#47; Since we can&amp;#39;t search backwards with RegExp we&lt;br /&gt;        &amp;#47;&amp;#47; have to search the entire string and return the&lt;br /&gt;        &amp;#47;&amp;#47; last match. Not the most efficient way of doing&lt;br /&gt;        &amp;#47;&amp;#47; things but it works.&lt;br /&gt;        Range range &amp;#61; null&amp;#59;&lt;br /&gt;        while &amp;#40;m.Success&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            int start &amp;#61; r.Start &amp;#43; Scintilla.Encoding.GetByteCount&amp;#40; text.Substring&amp;#40; 0, m.Index &amp;#41; &amp;#41;&amp;#59;&lt;br /&gt;            int end &amp;#61; Scintilla.Encoding.GetByteCount&amp;#40; text.Substring&amp;#40; m.Index, m.Length &amp;#41; &amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;            range &amp;#61; new Range&amp;#40;start, start &amp;#43; end, Scintilla&amp;#41;&amp;#59;&lt;br /&gt;            m &amp;#61; m.NextMatch&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        return range&amp;#59;&lt;br /&gt;    &amp;#125; else &amp;#123;&lt;br /&gt;        int start &amp;#61; r.Start &amp;#43; Scintilla.Encoding.GetByteCount&amp;#40; text.Substring&amp;#40; 0, m.Index &amp;#41; &amp;#41;&amp;#59;&lt;br /&gt;        int end &amp;#61; Scintilla.Encoding.GetByteCount&amp;#40; text.Substring&amp;#40; m.Index, m.Length &amp;#41; &amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;        return new Range&amp;#40; start, start &amp;#43; end, Scintilla &amp;#41;&amp;#59;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;---------------------------------------------------------------&lt;br /&gt;</description><author>jacobslusser</author><pubDate>Fri, 14 Jun 2013 07:32:04 GMT</pubDate><guid isPermaLink="false">Reopened Issue: A problem with searches by ScintillaNet.FindReplace.Find(Range r, Regex findExpression, bool searchUp) and non-ASCII encodings [26168] 20130614073204A</guid></item><item><title>Reopened Issue: AutoComplete Problem with language set to vbscript [26753]</title><link>http://scintillanet.codeplex.com/workitem/26753</link><description>When the configuratrion manager is set to vbscript language, an AutoCompleteList that only contain a single entry is automatically completed twice after the first character is typed.&lt;br /&gt;&lt;br /&gt;e.g. after typing j, fill the AutoCompleteList with Join&amp;#40; and show it. Then before typing anything else AutoComplete finishes the j with Join&amp;#40;Join&amp;#40; &amp;#40;yes, twice&amp;#41;.&lt;br /&gt;&lt;br /&gt;This only happens when the AutoCompleteList contains a single entry, otherwise it works as expected.&lt;br /&gt;</description><author>jacobslusser</author><pubDate>Fri, 14 Jun 2013 07:32:03 GMT</pubDate><guid isPermaLink="false">Reopened Issue: AutoComplete Problem with language set to vbscript [26753] 20130614073203A</guid></item><item><title>Reopened Feature: SCI_INDICSETALPHA (Indicator Alpha) support [27138]</title><link>http://scintillanet.codeplex.com/workitem/27138</link><description>Please add support to set the alpha value of an indicator &amp;#40;SCI_INDICSETALPHA&amp;#41;. I&amp;#39;ve tried setting this through the NativeInterface but it had no effect. Not sure why it doesn&amp;#39;t work.&lt;br /&gt;</description><author>jacobslusser</author><pubDate>Fri, 14 Jun 2013 07:32:03 GMT</pubDate><guid isPermaLink="false">Reopened Feature: SCI_INDICSETALPHA (Indicator Alpha) support [27138] 20130614073203A</guid></item><item><title>Reopened Issue: Document and mark the Scintilla.Encoding property as 'Advanced' [32450]</title><link>http://scintillanet.codeplex.com/workitem/32450</link><description>The Encoding property on Scintilla confuses a lot of new users. For the most part it should be set to UTF-8 and left alone.&lt;br /&gt;</description><author>jacobslusser</author><pubDate>Fri, 14 Jun 2013 07:32:03 GMT</pubDate><guid isPermaLink="false">Reopened Issue: Document and mark the Scintilla.Encoding property as 'Advanced' [32450] 20130614073203A</guid></item><item><title>Reopened Issue: Provide a way to disable IncrementalSearcher.moveFormAwayFromSelection [32825]</title><link>http://scintillanet.codeplex.com/workitem/32825</link><description>Currently the IncrementalSearcher.moveFormAwayFromSelection method is implemented as a way to move the search box away from the target. This method automatically gets called whenever a &amp;#34;findNext&amp;#34; occurs. However, if you want to create your own UI and placement of this control it will move depending on how you have the control displayed as a result of this call.&lt;br /&gt;&lt;br /&gt;A couple of recommended fixes&amp;#58;&lt;br /&gt;&lt;br /&gt;1.&amp;#41; Make the method virtual, this way if you want you can extend and overload the method.&lt;br /&gt;&lt;br /&gt;2.&amp;#41; Expose a boolean to &amp;#34;configure&amp;#34; this functionality.&lt;br /&gt;</description><author>jacobslusser</author><pubDate>Fri, 14 Jun 2013 07:32:03 GMT</pubDate><guid isPermaLink="false">Reopened Issue: Provide a way to disable IncrementalSearcher.moveFormAwayFromSelection [32825] 20130614073203A</guid></item><item><title>Reopened Issue: Performance Issue (TextChanged) [33179]</title><link>http://scintillanet.codeplex.com/workitem/33179</link><description>Well this is a performance issue that &amp;#39;ve recently discovered. It turns out that when u press a single key &amp;#40;or insert some text on the control, it&amp;#39;s the same&amp;#41;, this callback &amp;#40;TextChanged&amp;#41; get called multiple times and not only one as it should. This may happend to other event&amp;#39;s, I didn&amp;#39;t test it, but this should be fixed.&lt;br /&gt;&lt;br /&gt;Clue&amp;#58; I discover this bug due the fact that I was using 4.0 bench &amp;#40;until I read that it&amp;#39;s development was closed, silly me&amp;#41; and here this was working OK, and when I start using last version &amp;#40;2.5.2&amp;#41; this bug appear.&lt;br /&gt;</description><author>jacobslusser</author><pubDate>Fri, 14 Jun 2013 07:32:03 GMT</pubDate><guid isPermaLink="false">Reopened Issue: Performance Issue (TextChanged) [33179] 20130614073203A</guid></item><item><title>Reopened Issue: Make ZoomOut Method Public [33189]</title><link>http://scintillanet.codeplex.com/workitem/33189</link><description>The Scintilla.ZoomOut method is private but should be public.&lt;br /&gt;</description><author>jacobslusser</author><pubDate>Fri, 14 Jun 2013 07:32:03 GMT</pubDate><guid isPermaLink="false">Reopened Issue: Make ZoomOut Method Public [33189] 20130614073203A</guid></item><item><title>Reopened Feature: Merge Zoom Support From 3.0 Branch [33190]</title><link>http://scintillanet.codeplex.com/workitem/33190</link><description>The defunct 3.0 branch has a much improved Zoom API and documentation. This is contained primarily in changeset 63810.&lt;br /&gt;&lt;br /&gt;Make this goodness available to everyone&amp;#33;&lt;br /&gt;</description><author>jacobslusser</author><pubDate>Fri, 14 Jun 2013 07:32:02 GMT</pubDate><guid isPermaLink="false">Reopened Feature: Merge Zoom Support From 3.0 Branch [33190] 20130614073202A</guid></item><item><title>Reopened Feature: Add support for SCI_SETPUNCTUATIONCHARS [33205]</title><link>http://scintillanet.codeplex.com/workitem/33205</link><description>Scintilla 3.2.1 adds support for SCI_SETPUNCTUATIONCHARS, SCI_GETWORDCHARS, SCI_GETWHITESPACECHARS, and SCI_GETPUNCTUATIONCHARS messages.&lt;br /&gt;</description><author>jacobslusser</author><pubDate>Fri, 14 Jun 2013 07:32:02 GMT</pubDate><guid isPermaLink="false">Reopened Feature: Add support for SCI_SETPUNCTUATIONCHARS [33205] 20130614073202A</guid></item><item><title>Reopened Issue: Odd looking reset code [33508]</title><link>http://scintillanet.codeplex.com/workitem/33508</link><description>in MarginCollection.cs&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;private void ResetMargin0&amp;#40;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;    _margin0.Reset&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;private void ResetMargin1&amp;#40;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;    _margin0.Reset&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;private void ResetMargin2&amp;#40;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;    _margin0.Reset&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;...&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;</description><author>jacobslusser</author><pubDate>Fri, 14 Jun 2013 07:32:02 GMT</pubDate><guid isPermaLink="false">Reopened Issue: Odd looking reset code [33508] 20130614073202A</guid></item><item><title>Reopened Issue: Style 0 - not using default style (style 32) font [33595]</title><link>http://scintillanet.codeplex.com/workitem/33595</link><description>Hi,&lt;br /&gt;&lt;br /&gt;Just upgraded to use ScintillaNET 2.5.2, from ScintillaNET 2.2.&lt;br /&gt;&lt;br /&gt;We have our own lexer, and define style 0 as our default style.&lt;br /&gt;&lt;br /&gt;The default style in Scintilla is 32 &amp;#40;no change between versions&amp;#41;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In 2.5.2, ScintillaNet.Scintilla.ResetStyles&amp;#40;&amp;#41; and the ctor for Scintilla both set some properties for Style&amp;#91;0&amp;#93; &amp;#40;Font, ForeColor and BackColor&amp;#41;. It gets set to the system font &amp;#40;so, MS Sans Serif&amp;#41;.&lt;br /&gt;&lt;br /&gt;These end up in properties to the Scintilla.PropertyBag.&lt;br /&gt;&lt;br /&gt;Later, configuration is loaded &amp;#40;ConfigurationManager.Configure&amp;#40;&amp;#41; - at the very end of the method&amp;#41;. It calls Scintilla.Styles.ClearAll&amp;#40;&amp;#41; which is supposed to reset ALL styles to the default. However because there is an entry in PropertyBag for style 0, it will return &amp;#34;Sans Serif&amp;#34; as the font for style 0, rather than the font for the default style - &amp;#34;Courier New&amp;#34;.&lt;br /&gt;&lt;br /&gt;Looks like a bug to me - but I could of course me mistaken&amp;#33; If you need any clarification on what I&amp;#39;ve written feel free to get in touch.&lt;br /&gt;&lt;br /&gt;Regards&lt;br /&gt;&lt;br /&gt;John&lt;br /&gt;</description><author>jacobslusser</author><pubDate>Fri, 14 Jun 2013 07:32:02 GMT</pubDate><guid isPermaLink="false">Reopened Issue: Style 0 - not using default style (style 32) font [33595] 20130614073202A</guid></item><item><title>Reopened Issue: Find/replace uses wrong string length, fails to select all characters in a Unicode match [33711]</title><link>http://scintillanet.codeplex.com/workitem/33711</link><description>When searching for Unicode text, ScintillaNET will not select the entire string when it finds it.  Instead, it will only select part of the string.  This is because it is using the length in characters when the Range expects the length to be in bytes.&lt;br /&gt;&lt;br /&gt;Here is the function responsible for the bug&amp;#58;  &amp;#40;found in FindReplace.cs&amp;#41;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;public unsafe Range Find&amp;#40;int startPos, int endPos, string searchString, SearchFlags flags&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;&amp;#9;TextToFind ttf &amp;#61; new TextToFind&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;ttf.chrg.cpMin &amp;#61; startPos&amp;#59;&lt;br /&gt;&amp;#9;ttf.chrg.cpMax &amp;#61; endPos&amp;#59;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#47;&amp;#47;Need to get the length of the array returned by GetBytes.&lt;br /&gt;&amp;#9;fixed &amp;#40;byte&amp;#42; pb &amp;#61; Scintilla.Encoding.GetBytes&amp;#40;searchString&amp;#41;&amp;#41;&lt;br /&gt;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;ttf.lpstrText &amp;#61; &amp;#40;IntPtr&amp;#41;pb&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;int pos &amp;#61; NativeScintilla.FindText&amp;#40;&amp;#40;int&amp;#41;flags, ref ttf&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;if &amp;#40;pos &amp;#62;&amp;#61; 0&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#47;&amp;#47;This is a bug, it should use the length in bytes, not the string length which is in characters.&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;return new Range&amp;#40;pos, pos &amp;#43; searchString.Length, Scintilla&amp;#41;&amp;#59;  &lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#9;else&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;return null&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&lt;br /&gt;Here is a fixed version of this function&amp;#58;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;        public unsafe Range Find&amp;#40;int startPos, int endPos, string searchString, SearchFlags flags&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            TextToFind ttf &amp;#61; new TextToFind&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            ttf.chrg.cpMin &amp;#61; startPos&amp;#59;&lt;br /&gt;            ttf.chrg.cpMax &amp;#61; endPos&amp;#59;&lt;br /&gt;&lt;br /&gt;            byte&amp;#91;&amp;#93; bytes &amp;#61; Scintilla.Encoding.GetBytes&amp;#40;searchString&amp;#41;&amp;#59;&lt;br /&gt;            fixed &amp;#40;byte&amp;#42; pb &amp;#61; bytes&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                ttf.lpstrText &amp;#61; &amp;#40;IntPtr&amp;#41;pb&amp;#59;&lt;br /&gt;                int pos &amp;#61; NativeScintilla.FindText&amp;#40;&amp;#40;int&amp;#41;flags, ref ttf&amp;#41;&amp;#59;&lt;br /&gt;                if &amp;#40;pos &amp;#62;&amp;#61; 0&amp;#41;&lt;br /&gt;                &amp;#123;&lt;br /&gt;                    return new Range&amp;#40;pos, pos &amp;#43; bytes.Length, Scintilla&amp;#41;&amp;#59;&lt;br /&gt;                &amp;#125;&lt;br /&gt;                else&lt;br /&gt;                &amp;#123;&lt;br /&gt;                    return null&amp;#59;&lt;br /&gt;                &amp;#125;&lt;br /&gt;            &amp;#125;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;</description><author>jacobslusser</author><pubDate>Fri, 14 Jun 2013 07:32:02 GMT</pubDate><guid isPermaLink="false">Reopened Issue: Find/replace uses wrong string length, fails to select all characters in a Unicode match [33711] 20130614073202A</guid></item><item><title>Reopened Issue: Scintilla Crashes when using BackGroundWorker [33759]</title><link>http://scintillanet.codeplex.com/workitem/33759</link><description>How can you call Scintilla from a non GUI creating thread without crashing &amp;#33;&amp;#33;&amp;#33;&lt;br /&gt;&lt;br /&gt;I tried threads and backgroundWorkers,  i had no luck&amp;#58;&lt;br /&gt;&lt;br /&gt;  private void WriteToScintilla&amp;#40;string text&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            scintilla1.AppendText&amp;#40;text&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        private void bw_DoWork&amp;#40;object sender, DoWorkEventArgs e&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            BackgroundWorker worker &amp;#61; sender as BackgroundWorker&amp;#59;&lt;br /&gt;            string x&amp;#59;&lt;br /&gt;            while &amp;#40;true&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                x &amp;#61; tcw.Read&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;                MessageBox.Show&amp;#40;x&amp;#41;&amp;#59;&lt;br /&gt;                Thread.Sleep&amp;#40;100&amp;#41;&amp;#59;&lt;br /&gt;                scintilla1.Invoke&amp;#40;new WriteToScintilla&amp;#40;WriteToScintilla&amp;#41;, x&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;</description><author>jacobslusser</author><pubDate>Fri, 14 Jun 2013 07:32:01 GMT</pubDate><guid isPermaLink="false">Reopened Issue: Scintilla Crashes when using BackGroundWorker [33759] 20130614073201A</guid></item><item><title>Reopened Issue: showing hidden lines method should be made public [33825]</title><link>http://scintillanet.codeplex.com/workitem/33825</link><description>This method in the LineCollection.cs class should be made public&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;private void Show&amp;#40;int startLine, int endLine&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;    NativeScintilla.ShowLines&amp;#40;startLine, endLine&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;</description><author>jacobslusser</author><pubDate>Fri, 14 Jun 2013 07:32:01 GMT</pubDate><guid isPermaLink="false">Reopened Issue: showing hidden lines method should be made public [33825] 20130614073201A</guid></item><item><title>Created Unassigned: Autocomplete bugs with underscore [34165]</title><link>http://scintillanet.codeplex.com/workitem/34165</link><description>Hello,&lt;br /&gt;&lt;br /&gt;the Autocompletion seems to bug for words that contain an underscore. If I have the following list&amp;#58;&lt;br /&gt;&lt;br /&gt;test&lt;br /&gt;test_2&lt;br /&gt;testvar&lt;br /&gt;&lt;br /&gt;and I enter &amp;#34;testv&amp;#34; then the Autocompletion list gets closed because no entry is found &amp;#40;AutoHide is enabled&amp;#41;.&lt;br /&gt;&lt;br /&gt;I allready checked Lexing.WordChars, here the underscore char is included correctly. Also AutoComplete.FillUpCharacters only contains &amp;#34;.&amp;#40;&amp;#91;&amp;#34; and AutoComplete.StopCharacters doesn&amp;#39;t contain any value, so it should work, right&amp;#63; Also AutoComplete.IsCaseSensitive is set to false.&lt;br /&gt;&lt;br /&gt;The strange thing is that it sometimes does work, but I couldn&amp;#39;t find out any regularity under which circumstances this happens.&lt;br /&gt;</description><author>2manyQuestions</author><pubDate>Tue, 11 Jun 2013 16:41:44 GMT</pubDate><guid isPermaLink="false">Created Unassigned: Autocomplete bugs with underscore [34165] 20130611044144P</guid></item><item><title>Closed Feature: Request: .ScrollToLine [25115]</title><link>http://scintillanet.codeplex.com/workitem/25115</link><description>Are you able to programming a new method Scrolling.ScrollToLine&amp;#40;n&amp;#41;.&lt;br /&gt;   -Needs to Zero out the X value of horizontal scroll bar&lt;br /&gt;   -Needs to Set the line to equal the very TopLine of the Visible lines in the textbox&lt;br /&gt;   -Should really take the caret with it&lt;br /&gt;&lt;br /&gt;Point 2 is not offered by any current scrolling capabiliteis and then  .ScrollBy is hard to reverse calculate.&lt;br /&gt;</description><author>jacobslusser</author><pubDate>Thu, 16 May 2013 11:40:56 GMT</pubDate><guid isPermaLink="false">Closed Feature: Request: .ScrollToLine [25115] 20130516114056A</guid></item><item><title>Closed Issue: A problem with searches by ScintillaNet.FindReplace.Find(Range r, Regex findExpression, bool searchUp) and non-ASCII encodings [26168]</title><link>http://scintillanet.codeplex.com/workitem/26168</link><description>A range returned by call of ScintillaNet.FindReplace.Find&amp;#40;Range r, Regex findExpression, bool searchUp&amp;#41; for UTF-8 or Unicode encodings is invalid.&lt;br /&gt;&lt;br /&gt;I made changes in the function and fixed the problem.&lt;br /&gt;Please review my code and commit it to the main source.&lt;br /&gt;&lt;br /&gt;---------------------------------------------------------------&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;public Range Find&amp;#40;Range r, Regex findExpression, bool searchUp&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;    &amp;#47;&amp;#47; Single line and Multi Line in RegExp doesn&amp;#39;t really effect&lt;br /&gt;    &amp;#47;&amp;#47; whether or not a match will include newline characters. This&lt;br /&gt;    &amp;#47;&amp;#47; means we can&amp;#39;t do a line by line search. We have to search&lt;br /&gt;    &amp;#47;&amp;#47; the entire range because it could potentially match the&lt;br /&gt;    &amp;#47;&amp;#47; entire range.&lt;br /&gt;&lt;br /&gt;    string text &amp;#61; r.Text&amp;#59;&lt;br /&gt;    Match m &amp;#61; findExpression.Match&amp;#40;text&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;    if &amp;#40;&amp;#33;m.Success&amp;#41;&lt;br /&gt;        return null&amp;#59;&lt;br /&gt;&lt;br /&gt;    if &amp;#40;searchUp&amp;#41;&lt;br /&gt;    &amp;#123;&lt;br /&gt;        &amp;#47;&amp;#47; Since we can&amp;#39;t search backwards with RegExp we&lt;br /&gt;        &amp;#47;&amp;#47; have to search the entire string and return the&lt;br /&gt;        &amp;#47;&amp;#47; last match. Not the most efficient way of doing&lt;br /&gt;        &amp;#47;&amp;#47; things but it works.&lt;br /&gt;        Range range &amp;#61; null&amp;#59;&lt;br /&gt;        while &amp;#40;m.Success&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            int start &amp;#61; r.Start &amp;#43; Scintilla.Encoding.GetByteCount&amp;#40; text.Substring&amp;#40; 0, m.Index &amp;#41; &amp;#41;&amp;#59;&lt;br /&gt;            int end &amp;#61; Scintilla.Encoding.GetByteCount&amp;#40; text.Substring&amp;#40; m.Index, m.Length &amp;#41; &amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;            range &amp;#61; new Range&amp;#40;start, start &amp;#43; end, Scintilla&amp;#41;&amp;#59;&lt;br /&gt;            m &amp;#61; m.NextMatch&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        return range&amp;#59;&lt;br /&gt;    &amp;#125; else &amp;#123;&lt;br /&gt;        int start &amp;#61; r.Start &amp;#43; Scintilla.Encoding.GetByteCount&amp;#40; text.Substring&amp;#40; 0, m.Index &amp;#41; &amp;#41;&amp;#59;&lt;br /&gt;        int end &amp;#61; Scintilla.Encoding.GetByteCount&amp;#40; text.Substring&amp;#40; m.Index, m.Length &amp;#41; &amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;        return new Range&amp;#40; start, start &amp;#43; end, Scintilla &amp;#41;&amp;#59;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;---------------------------------------------------------------&lt;br /&gt;</description><author>jacobslusser</author><pubDate>Thu, 16 May 2013 11:40:54 GMT</pubDate><guid isPermaLink="false">Closed Issue: A problem with searches by ScintillaNet.FindReplace.Find(Range r, Regex findExpression, bool searchUp) and non-ASCII encodings [26168] 20130516114054A</guid></item></channel></rss>