Not sure what version your patch was created in, but I tried to apply and i get this:
patch -p0 < patch.diff
(Stripping trailing CRs from patch.)
patching file outline/OutlineAsset.java
Hunk #1 FAILED at 13.
1 out of 1 hunk FAILED -- saving rejects to file outline/OutlineAsset.java.rej
(Stripping trailing CRs from patch.)
patching file outline/OutlineParser.java
Hunk #1 FAILED at 39.
Hunk #2 FAILED at 60.
2 out of 2 hunks FAILED -- saving rejects to file outline/OutlineParser.java.rej
please check your patch against outline's svn trunk?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please attach a test file as an attachment...
spaces were removed, so I use '_' instead of space.
Text File
test
__test2
____test3
test4
__test5
Result of parsing (wrong)
root
__|-test
______|-test2
______|-test4
The expected result
root
__|-test
__|___|-test2
__|
__|-test4
:folding=indent:
should be at the top of the test.txt file, i believe
Sample Text
:folding=indent: is needed
test.txt file was corrected.
Not sure what version your patch was created in, but I tried to apply and i get this:
patch -p0 < patch.diff
(Stripping trailing CRs from patch.)
patching file outline/OutlineAsset.java
Hunk #1 FAILED at 13.
1 out of 1 hunk FAILED -- saving rejects to file outline/OutlineAsset.java.rej
(Stripping trailing CRs from patch.)
patching file outline/OutlineParser.java
Hunk #1 FAILED at 39.
Hunk #2 FAILED at 60.
2 out of 2 hunks FAILED -- saving rejects to file outline/OutlineParser.java.rej
please check your patch against outline's svn trunk?
It appears shlomy made some recent changes to Outline which were never officially released. Assigning to him.
Hm! it appears that outline trunk already shows me the expected result. Just tested it with your test file.
Please confirm that trunk is good, and i can make release request.
Sorry, I was looking at old source.
The source code of trunk is good.
Tagged Outline 1.2.4 for release.