boltex / leojs

Leo Literate Editor with Outline in Typescript
https://boltex.github.io/leojs/
MIT License
28 stars 1 forks source link

Make g.os_path_normslashes a do-nothing in leoJS #49

Closed edreamleo closed 1 year ago

edreamleo commented 1 year ago

Leo PR #3241, merged into devel, contains non-controversial changes to Leo as part of Leo issue #3235.

Within Leo itself, g.os_path_normslashes translates backslash to forward slashes, but only on Windows. Imo, g.os_path_normslashes should be a do-nothing method on leoJS:

Summary

edreamleo commented 1 year ago

@boltex I have changed my mind g.os_path_normslashes can remain as it is. The choice is yours.

We can rationalize the behavior of g.os_path_normslashes by saying that it converts paths to POSIX. I'm not sure how convincing that rationalization is, but I'll close this issue for now.