richardbuckle / avaloncottle Goto Github PK
View Code? Open in Web Editor NEWA proof of concept for using AvalonEdit to parse Cottle documents
License: MIT License
A proof of concept for using AvalonEdit to parse Cottle documents
License: MIT License
Coloring incomplete bracket pairs, parenthesis pairs, and quote pairs to highlight code where there exists an incomplete pair would be very beneficial as a scripting QOL improvement. Is this viable (possibly as a round II change)?
We can
{event.example}
or {event}.example
but not a simple string literal like event.
) and/orBlueprint make report
script, lines 55 & 57, is formatted as Body text
, supposed to be Delimiter
and Keyword
.
{}}
seems to fail the unexpected delimiter test. One of the closing brackets }
should be identified as an unexpected delimiter but neither is.
In a more complete use case:
Module repaired
{Occasionally(2,
cat(OneOf(", ", "and is"), " ready for re-activation")
)}.
is a valid script with balanced delimiters.
Module repaired
{Occasionally(2,
cat(OneOf(", ", "and is"), " ready for re-activation")
)}}.
is not valid. The extra closing curly bracket in the last line is not identified as a syntax error.
Resolved by adding
textEditor.ShowLineNumbers = true;
textEditor.WordWrap = true;
to the ConfigfureTextEditor()
method (spelling?) in MainWindow.xaml.cs
Add the following to the ConfigfureTextEditor()
method in MainWindow.xaml.cs
to automatically replace entered tabs with spaces?
textEditor.TextArea.Options.ConvertTabsToSpaces = true;
textEditor.TextArea.Options.IndentationSize = 4;
I'm still looking for a way to edit / configure shortcuts
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.