4db951c455d5

View changeset 4db951c455d5 on CodePlex.

Changeset Description

Sets up the start of our projection buffers for Django editng, enables html syntax highlighting in a Django template
Adds a simple parser for getting the ranges of Django template markup and adds associated unit tests to make sure it’s working correctly
Also:
Adds missing copyright headers
Deletes a bunch of dead code from AutoIndent and fixes an issue where we don’t map down to the correct buffer when calculating indentation (this doesn’t show up in the REPL where we also use projection buffers because the REPL has its own special handling for calculating indentation).

Modified Files

Release\Product\Python\PythonTools\PythonTools\Editor\AutoIndent.cs
Release\Product\Python\Django\TemplateParsing\TemplateToken.cs
Release\Product\Python\Django\TemplateParsing\TemplateTokenKind.cs
Release\Product\Python\Django\TemplateParsing\TemplateTokenizer.cs
Release\Product\Python\Django\Django.csproj
Release\Product\Python\Django\DjangoEditorFactory.cs
Release\Product\Python\Django\DjangoPackage.cs
Release\Product\Python\Django\GlobalSuppressions.cs
Release\Product\Python\Django\Guids.cs
Release\Product\Python\Django\PkgCmdID.cs
Release\Product\Python\Django\Properties\AssemblyInfo.cs

Modified Tests

Release\Tests\AnalysisTest\AnalysisTest.csproj
Release\Tests\AnalysisTest\DjangoTemplateParserTests.cs

Related Files

Release\Product\Python\PythonTools\PythonTools\Editor\SmartIndentProvider.cs