Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX double-click bracket matching fails in Windows files #51

Closed
jleben opened this issue May 6, 2012 · 1 comment
Closed

OSX double-click bracket matching fails in Windows files #51

jleben opened this issue May 6, 2012 · 1 comment
Labels
bug Issues that relate to unexpected/unwanted behavior. Don't use for PRs. env: SC.app os: macOS

Comments

@jleben
Copy link
Member

jleben commented May 6, 2012

[Issue migrated from SourceForge | ID: 1898422 | Submitted by 'jamshark70']
[http://sourceforge.net/support/tracker.php?aid=1898422]

Edit a .sc or .scd file on a Windows machine. Then open that file in SC on OSX.

If there is something like

(
... some code...
)

... then double-clicking inside the open-paren does not select the whole text. It stops at EOL.

This is b/c OSX saves text files with EOL (ascii 10) for line breaks. Windows saves with LF-CR (10, then 13). The presence of ascii 13 stops the bracket matcher.

Related annoyance: in OSX, use cmd-[ or cmd-] to shift text left or right on a Windows file. Magically everything selected changes to double-spaced.

@scztt
Copy link
Contributor

scztt commented Apr 13, 2015

This appears fixed in 3.7 - bracket matching and selection works identically for win, mac, and unix line ending files.

@scztt scztt closed this as completed Apr 13, 2015
mossheim pushed a commit that referenced this issue Aug 24, 2020
Telling that Lua2SC exists.
@Lispilo Lispilo mentioned this issue Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that relate to unexpected/unwanted behavior. Don't use for PRs. env: SC.app os: macOS
Projects
None yet
Development

No branches or pull requests

2 participants