Commits

Nerzhul500 committed b751e97

Langs of highligtings changed

Comments (0)

Files changed (7)

ReSpeller.Installer/ReSpeller7.1.Installer.wixproj

     <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
-    <OutputPath>..\target\$(Configuration)\7.0\installer\</OutputPath>
+    <OutputPath>..\target\$(Configuration)\7.1\installer\</OutputPath>
     <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
-    <DefineConstants>Debug;binlib=..\target\$(Configuration)\7.0\bin</DefineConstants>
+    <DefineConstants>Debug;binlib=..\target\$(Configuration)\7.1\bin;rsver=7.1</DefineConstants>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
     <OutputPath>..\target\$(Configuration)\7.1\installer\</OutputPath>

ReSpeller/Bulbs/TextRangeTypoReplaceBulbItem.cs

       allWords.AddRange(suggests);
       var templateField = new TemplateField("TEXT_RANGE_TYPO", new TextHotspotExpression(allWords), 0);
       var fieldInfo = new HotspotInfo(templateField, myRange.TextRange);
-      textControl.Caret.MoveTo(fieldInfo.Ranges[0].StartOffset, CaretVisualPlacement.Generic);
       var liveTemplatesManager = Shell.Instance.GetComponent<LiveTemplatesManager>();
       HotspotSession hotspotSession = liveTemplatesManager.CreateHotspotSessionAtopExistingText(
         solution, 
-        new TextRange(fieldInfo.Ranges[0].EndOffset + 1), 
+        myRange.TextRange,
         textControl, 
         LiveTemplatesManager.EscapeAction.LeaveTextAndCaret, fieldInfo);
       hotspotSession.Execute();

ReSpeller/Highlightings/CommentTypoHighlighting.cs

 namespace ReSpeller.Highlightings
 {
   [ConfigurableSeverityHighlighting(SeverityId,
-    "CSHARP,VBASIC,JAVA_SCRIPT,Razor,ASPX", OverlapResolve = OverlapResolveKind.NONE,
+    "CSHARP,VBASIC,Razor,ASPX,XML,RESX,XAML,ASXX", OverlapResolve = OverlapResolveKind.NONE,
     ToolTipFormatString = ToolTipFormatString)]
   public class CommentTypoHighlighting : TextRangeTypoHighlighting
   {

ReSpeller/Highlightings/IdentifierTypoHighlighting.cs

 namespace ReSpeller.Highlightings
 {
   [ConfigurableSeverityHighlighting(SeverityId,
-    "CSHARP,VBASIC,JAVA_SCRIPT,Razor,ASPX", OverlapResolve = OverlapResolveKind.NONE,
+    "CSHARP,VBASIC,Razor,ASPX,ASXX", OverlapResolve = OverlapResolveKind.NONE,
     ToolTipFormatString = ToolTipFormatString)]
   public class IdentifierTypoHighlighting : IHighlighting
   {

ReSpeller/Highlightings/MarkupAttributeTypoHighlighting.cs

 namespace ReSpeller.Highlightings
 {
   [ConfigurableSeverityHighlighting(SeverityId,
-    "XML,RESX,XAML,HTML,Razor,ASPX", OverlapResolve = OverlapResolveKind.NONE,
+    "XML,RESX,XAML,Razor,ASPX", OverlapResolve = OverlapResolveKind.NONE,
     ToolTipFormatString = ToolTipFormatString)]
   public class MarkupAttributeTypoHighlighting : TextRangeTypoHighlighting
   {

ReSpeller/Highlightings/MarkupTextTypoHighlighting.cs

 namespace ReSpeller.Highlightings
 {
   [ConfigurableSeverityHighlighting(SeverityId,
-    "XML,RESX,XAML,HTML,Razor,ASPX", OverlapResolve = OverlapResolveKind.NONE,
+    "XML,RESX,XAML,Razor,ASPX", OverlapResolve = OverlapResolveKind.NONE,
     ToolTipFormatString = ToolTipFormatString)]
   public class MarkupTextTypoHighlighting : TextRangeTypoHighlighting
   {

ReSpeller/Highlightings/StringLiteralTypoHighlighting.cs

 namespace ReSpeller.Highlightings
 {
   [ConfigurableSeverityHighlighting(SeverityId,
-    "CSHARP,VBASIC,JAVA_SCRIPT,Razor,ASPX", OverlapResolve = OverlapResolveKind.NONE,
+    "CSHARP,VBASIC,Razor,ASPX,ASXX", OverlapResolve = OverlapResolveKind.NONE,
     ToolTipFormatString = ToolTipFormatString)]
   public class StringLiteralTypoHighlighting : TextRangeTypoHighlighting
   {