Created
October 23, 2013 16:48
-
-
Save kowey/7122201 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -520,7 +520,7 @@ | |
| minput <- do | |
| set sembox [ text :~ trim ] | |
| loadEverything pstRef wrangler | |
| - customSemParser wrangler . T.pack <$> get sembox text | |
| + customSemParser wrangler . unautocorrect . T.pack <$> get sembox text | |
| case minput of | |
| Left e -> errorDialog f "Please give me better input" (show e) | |
| Right semInput -> do | |
| @@ -537,6 +537,10 @@ | |
| case getBuilderType (pa pst) of | |
| SimpleBuilder -> a simpleGui2p | |
| SimpleOnePhaseBuilder -> a simpleGui1p | |
| + unautocorrect = T.replace "©" "(C)" | |
| + -- sigh! Cocoa text boxes do autocorrection, which messes up this common | |
| + -- bit of semantics; ideally I'd just figure out how to turn this off | |
| + -- programmatically | |
| resultsGui :: BG.BuilderGui -> ProgState -> CustomSem sem -> TestCase sem -> IO () | |
| resultsGui builderGui pst wrangler semInput = do |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment