Fix pdls reading.
Improve line error highligh
Fixed bugs on search and editor