Permalink
Browse files

Compile & Run using paths with a space now works properly.

Unsigned literal shortcuts are now highlighted properly.
  • Loading branch information...
dom96 committed Feb 23, 2013
1 parent 6d6d172 commit 02796b44c62818673475afdb0a6f95488308d82f
Showing with 6 additions and 2 deletions.
  1. +3 −0 CustomStatusBar.nim
  2. +1 −1 aporia.nim
  3. +1 −1 share/gtksourceview-2.0/language-specs/nimrod.lang
  4. +1 −0 todo.markdown
View
@@ -59,6 +59,9 @@ proc initCustomStatusBar*(MainBox: PBox): PCustomStatusBar =
proc restorePrevious*(bar: PCustomStatusBar)
proc setStatus(bar: PCustomStatusBar, st: TStatus) =
+ if bar == nil:
+ echo("[Warning] CustomStatusBar is not yet initialised. SetStatus failed.")
+ return
bar.statuses.add(bar.status)
bar.status = st
View
@@ -1113,7 +1113,7 @@ proc compileRun(filename: string, shouldRun: bool) =
let workDir = filename.splitFile.dir
if shouldRun:
let ifSuccess = changeFileExt(filename, os.ExeExt)
- runAfter = newExec(ifSuccess, workDir, ExecRun)
+ runAfter = newExec(ifSuccess.quoteIfContainsWhite(), workDir, ExecRun)
win.execProcAsync newExec(cmd, workDir, ExecNimrod, runAfter = runAfter)
proc CompileCurrent_Activate(menuitem: PMenuItem, user_data: pointer) =
@@ -127,7 +127,7 @@
</define-regex>
<define-regex id="numbersuffix" extended="true">
- (\'[Ff]32|\'[Ff]64|\'[Ii]8|\'[Ii]16|\'[Ii]32|\'[Ii]64)
+ (\'[Ff]32|\'[Ff]64|\'[IiUu]8|\'[IiUu]16|\'[IiUu]32|\'[IiUu]64)
</define-regex>
<context id="float" style-ref="floating-point">
View
@@ -23,6 +23,7 @@
* Ctrl+/ doesn't work on commented lines with no space after the #
* Use gtk_text_buffer_set_modified()
* Syntax Highlighting change is not reflected in the tab's tooltip.
+* When invoking suggest, check if cursor is on a "string" tag? Can I determine this?
## Other language features
* Ability to change to hard tabs.

0 comments on commit 02796b4

Please sign in to comment.