Changeset 2213
- Timestamp:
- Jan 11, 2013, 2:58:49 AM (10 years ago)
- Location:
- trunk/tools/vslol
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/vslol/CppKeywordClassifier.cs
r2131 r2213 2 2 // Lol Engine - VsLol add-in for Visual Studio 3 3 // 4 // Copyright: (c) 2010-201 2Sam Hocevar <sam@hocevar.net>4 // Copyright: (c) 2010-2013 Sam Hocevar <sam@hocevar.net> 5 5 // This program is free software; you can redistribute it and/or 6 6 // modify it under the terms of the Do What The Fuck You Want To … … 15 15 using System.Windows.Media; 16 16 using System.Text.RegularExpressions; 17 using System.Diagnostics; /* For debugging purposes */ 17 18 18 19 using Microsoft.VisualStudio.Text; … … 60 61 { 61 62 private IClassifier m_classifier; 63 private bool m_inprogress; 62 64 63 65 private IClassificationType m_types_type, m_constant_type, m_normal_type; … … 138 140 { 139 141 m_classifier = classifier; 142 m_inprogress = false; 140 143 141 144 m_types_type = registry.GetClassificationType("LolAnyType"); … … 177 180 { 178 181 List<ClassificationSpan> ret = new List<ClassificationSpan>(); 182 183 if (m_inprogress) 184 { 185 /* For some reason we can get called recursively when parsing a 186 * string for the IntelliSense drop-down menu. There is information 187 * on how to deal with it properly on the following SO page: 188 * http://stackoverflow.com/q/3155598/111461 189 * The crash can be reproduced by simply typing "vec2(" and waiting 190 * for IntelliSense to spawn the menu. */ 191 ret.Add(new ClassificationSpan(span, m_constant_type)); 192 return ret; 193 } 194 195 m_inprogress = true; 179 196 180 197 foreach (ClassificationSpan cs in m_classifier.GetClassificationSpans(span)) … … 207 224 } 208 225 226 m_inprogress = false; 227 209 228 return ret; 210 229 } -
trunk/tools/vslol/Properties/AssemblyInfo.cs
r2129 r2213 2 2 // Lol Engine - VsLol add-in for Visual Studio 3 3 // 4 // Copyright: (c) 2010-201 2Sam Hocevar <sam@hocevar.net>4 // Copyright: (c) 2010-2013 Sam Hocevar <sam@hocevar.net> 5 5 // This program is free software; you can redistribute it and/or 6 6 // modify it under the terms of the Do What The Fuck You Want To … … 18 18 [assembly: AssemblyCompany("Lol")] 19 19 [assembly: AssemblyProduct("VsLol")] 20 [assembly: AssemblyCopyright("Copyright © Sam Hocevar 2012")]20 [assembly: AssemblyCopyright("Copyright © 2012-2013 Sam Hocevar")] 21 21 [assembly: AssemblyTrademark("")] 22 22 [assembly: AssemblyCulture("")] … … 30 30 [assembly: Guid("58968f91-edb8-4a4c-9f4f-ba39fdb4a21a")] 31 31 32 [assembly: AssemblyVersion("1.0.0. 7")]33 [assembly: AssemblyFileVersion("1.0.0. 7")]32 [assembly: AssemblyVersion("1.0.0.8")] 33 [assembly: AssemblyFileVersion("1.0.0.8")] -
trunk/tools/vslol/source.extension.vsixmanifest
r2129 r2213 4 4 <Name>VsLol</Name> 5 5 <Author>Lol</Author> 6 <Version>1.0.0. 7</Version>6 <Version>1.0.0.8</Version> 7 7 <Description xml:space="preserve">Lol Engine Productivity Tools.</Description> 8 8 <Locale>1033</Locale>
Note: See TracChangeset
for help on using the changeset viewer.