Commit 9cfc1d81 authored by Bas Lijnse's avatar Bas Lijnse

Merge branch '359-when-choosing-new-in-basicapiexamples-the-tree-view-is-broken' into 'master'

convert all path separators to linux path separators used in tree view

Closes #359

See merge request !348
parents 6d8e61dc 00e46974
Pipeline #31665 passed with stage
in 7 minutes and 28 seconds
......@@ -78,7 +78,8 @@ where
insertSpaces i s
| i == size s = []
| s % (i, i+2) == "API" = [' ','A','P','I':insertSpaces (i+3) s]
| isUpper s.[i] && (i == 0 || s.[i-1] <> '/') = [' ',s.[i]:insertSpaces (i+1) s]
| isUpper s.[i] && (i == 0 || s.[i-1] <> pathSeparator) = [' ',s.[i]:insertSpaces (i+1) s]
| s.[i] == pathSeparator = ['/':insertSpaces (i+1) s]
= [s.[i]:insertSpaces (i+1) s]
Start w
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment