We were getting false matches before for ColonLine, mostly for class
diagrams. This PR constrains the match for plantumlColonLine to only those
colons with spaces on either side.
Check out the following example before and after in your
editor:
@startuml
class Foo {
+ field1
+ field2
}
class Bar {
+ field3
+ field4
}
Foo::field1 --> Bar::field3 : foo
Foo::field2 --> Bar::field4 : bar
@enduml
Notice how the fields at the end are highlighted all weird? This PR
fixes that problem.
We were getting false matches before for ColonLine, mostly for class diagrams. This PR constrains the match for plantumlColonLine to only those colons with spaces on either side.
Check out the following example before and after in your editor:
Notice how the fields at the end are highlighted all weird? This PR fixes that problem.
Before
After