Chocolat Changelog

What's new in Chocolat 3.4

Apr 8, 2017
  • Note: This is a JavaScript-focused update.
  • Feature: JavaScript mode now supports ⌘-click for Jump-to-Definition and Jump-to-Documentation. (thanks to ternjs project)
  • Feature: JS completion now supports JSX and more ES6.
  • Bug: ctrl-alt-click in multicursor mode removes the clicked selection. This feature had been there all the time but never enabled. 🆒
  • Feature: If you click "Multicursor press cmd-shift-esc to cancel" in the status bar, it shows a list of keyboard shortcuts available in multicursor mode.
  • Note: Updated internal node.js to Node 7.4. This may cause incompatibility with some mixins (plugins) but may resolve issues with others. Mixin authors are adviced to check their mixins with this release.

New in Chocolat 3.3.4 (Jan 27, 2017)

  • Feature: cmd-click on a python module import to open its documentation.
  • Feature: Copy Full Path and Copy Subpath context menu items.
  • Crash: No longer crashes when clicking the close button on an untitled file in the project bar.

New in Chocolat 3.3.3 (Jan 24, 2017)

  • Feature: Press ctrl-alt-U to cycle between camelCase, snake_case and CamelCase.
  • Note: Considerably improved performance in large files.

New in Chocolat 3.3.1 (Jun 21, 2016)

  • Bug: Paste indentation still was not perfect. Improved it further.
  • Bug: JSX tag start regex was too aggressive.

New in Chocolat 3.3 (Jun 16, 2016)

  • Feature: Some improvements to JS support. JSX?
  • Feature: Copy and paste is possibly smarter with indentation.
  • Note: Totally didn't go on vacation and then forget what's new in this.

New in Chocolat 3.2.4 (Feb 16, 2016)

  • Crash: Fixes a crash that affects users using Yosemite (10.10)
  • Crash: Fixes a different crash affecting all versions of OS X

New in Chocolat 3.2.3 (Feb 15, 2016)

  • Bug: Moved drag handles a few pixels to the right so it doesn't interfere with the status bar and any scroll bars
  • Bug: cmd-R wouldn't work unless you had web preview open
  • Bug: Fixed codesigning, I think

New in Chocolat 3.2.2 (Feb 12, 2016)

  • Bug: Wrote a new split view. Fixes a vast number of bugs the previous one had.
  • Bug: ...such as when a file would not maintain its scroll position if you re-selected it.
  • Bug: ...and slow switching between files.
  • Crash: Made a crash report analyzing tool. Now we can track exactly what crashes are most common. If Chocolat asks, please opt-in to send your crash reports!
  • Crash: Fixed the most common crash in Chocolat, and the second most common.
  • Bug: Fixes line numbers randomly going gray when typing
  • Bug: Fix cmd-cmd popover preference not staying set

New in Chocolat 3.2.1 (Jan 28, 2016)

  • Fixed a poor interaction between key bindings and the File->Close Window menu item, whereby it would lose its key binding and have to be set manually.

New in Chocolat 3.2 (Jan 28, 2016)

  • Feature: Support for ES6 code completion and symbol list (thanks as always to marijnh's Tern!)
  • Feature: Updated Rust and Swift bundles
  • Note: Updated some of the default templates. e.g. HTML template now has meta viewport
  • Note: Recompiled tm2truffle with ARC

New in Chocolat 3.1.7 (Nov 17, 2015)

  • Bug: Oops, remove a few nonsense CSS properties that got worked their way into the css completions yesterday.
  • Bug: Show code completion even if the full property name has been typed out

New in Chocolat 3.1.6 (Nov 16, 2015)

  • Feature: Actions now default to Python 3 if installed. Use virtualenvs to specify otherwise
  • Feature: Text -> Insert -> Counter (cmd-alt-3). Inserts 1, 2, 3, ... in multicursor mode.
  • Note: Added HTML main element to code completion.
  • Note: Added new CSS properties and bleeding edge vendor prefixes
  • Note: More memory usage improvements in syntax highlighting.

New in Chocolat 3.1.5 (Nov 16, 2015)

  • Bug: Reduced memory usage from syntax highlighting by ~30% by lazily storing capture information.
  • Bug: cmd-alt-dot (close tag) now works in multicursor mode
  • Bug: choc CLI should work now if given multiple file paths
  • Feature: cmd-ctrl-T "Reveal in Terminal". Opens the current file's parent directory in Terminal.app. Clone workspace is now cmd-option-T.

New in Chocolat 3.1.4 (Feb 9, 2015)

  • Bug: Couple of minor bug fixes

New in Chocolat 3.1.3 (Jan 12, 2015)

  • Bug: Fix wrap guideline being drawn over
  • Bug: Fix color picker flashing in Themes preferences
  • Bug: Fix theme not being selected in source list when Themes first opened
  • Bug: Possibly fix big numbers in the gutter when combining retina and external non-retina displays

New in Chocolat 3.1.2 (Dec 22, 2014)

  • Bug: Fixes all of the remaining line number glitches
  • Bug: Fixes themes source list glitching out

New in Chocolat 3.1.1 (Dec 17, 2014)

  • Bug: Fixes most of the glitchy invalidation with the new line numbers
  • Bug: Works around the "unicode bug" that has been plauging chocolat since the beginning
  • Note: More efficient and faster storage of text attributes
  • Note: Version 3.x adds Yosemite support and costs $15 (if you already bought it then please ignore this message). There is no charge to use 3.x on Mavericks.

New in Chocolat 3.1 (Dec 15, 2014)

  • Added live error checking for Lua.
  • Added preference for double tap documentation popovers.
  • Faster line numbers! Time spent rendering line numbers has gone down from 22% to 6%. Scrolling performance is significantly improved. Typing performance is improved.
  • Lower memory line numbers! Chocolat's old line number bitmap cache was horrendously wasteful, the new scheme requires only about 6kB per editor window.
  • Better looking line numbers! Line numbers now render with correct subpixel AA. Line numbers are very slightly bigger (used to be 70%, now 79%).
  • Added some snippets for Rust and Swift.
  • Now builds C++ code using C++11 by default.
  • Version 3.x adds Yosemite support and costs $15 (if you already bought it then please ignore this message). There is no charge to use 3.x on Mavericks.

New in Chocolat 3.0.3 (Dec 6, 2014)

  • Feature: Customize Keybindings (Chocolat -> Key Bindings...)
  • Bug: Cosmetic improvements to the UI on Yosemite.
  • Note: Made the documentation popover a bit wider. Made changes to styling of documentation.
  • Note: Optimized memory management of syntax highlighting. About 7% faster in my tests.
  • Note: * * * For those Mavericks users still on 2.x, a reiteration of changes in 3.0: * * *
  • Note: Version 3.x adds Yosemite support and costs $15 (if you already bought it then please ignore this message). There is no charge to use 3.x on Mavericks.
  • Note: Yosemite support.
  • Note: Now uses ARC instead of GC.
  • Feature: Mixins are now process-separated.
  • Feature: Git gutter. Shows the changes you make, relative to the last Git commit.
  • Feature: CSS live preview. Web preview updates CSS as-you-type, even if it's in a separate file. There's no need to save to see changes.
  • Feature: Corrected wrap guideline. Works better than the old one (which isn't saying much).
  • Feature: Padding at the bottom of the editor.
  • Note: Padding and wrap guidelines are configurable through View menu/Margin Preferences.
  • Feature: Proper code completion for JavaScript callback functions.
  • Feature: Multicursor mode works with text actions such as uppercase, reverse, indent, etc.
  • Bug: Turned off code completion when in multicursor mode.
  • Feature: cmd-alt-dot is back after an extended absence (it had to be reimplemented).
  • Bug: esc-completion matches case properly.
  • Feature: Added Git Tower to the context menu.
  • Feature: Errors and Warnings window - see a list of all errors and warnings in your document.
  • Feature: Double click on an error to Google it.
  • Feature: Rust and Swift syntax highlighting. Live error checking for Rust.
  • Note: Changed system requirements, now requires 10.9+

New in Chocolat 3.0.2 (Nov 24, 2014)

  • Feature: Double tap docs - hover over a function/class name and double tap the command key quickly. A popover will appear with relevant online documentation. Somewhat experimental. Powered by devdocs.io
  • Feature: New, abstract, flatter, Yosemite-style icon. I am prepared for the hate, give me all you got.
  • Bug: Fixed the status bar not updating when the theme changes.
  • Note: Shaved some latency off opening a file by removing excess redrawing.
  • Note: * * * For those Mavericks users still on 2.x, a reiteration of changes in 3.0: * * *
  • Note: Yosemite support.
  • Note: Now uses ARC instead of GC.
  • Feature: Mixins are now process-separated.
  • Feature: Git gutter. Shows the changes you make, relative to the last Git commit.
  • Feature: CSS live preview. Web preview updates CSS as-you-type, even if it's in a separate file. There's no need to save to see changes.
  • Feature: Corrected wrap guideline. Works better than the old one (which isn't saying much).
  • Feature: Padding at the bottom of the editor.
  • Note: Padding and wrap guidelines are configurable through View menu/Margin Preferences.
  • Feature: Proper code completion for JavaScript callback functions.
  • Feature: Multicursor mode works with text actions such as uppercase, reverse, indent, etc.
  • Bug: Turned off code completion when in multicursor mode.
  • Feature: cmd-alt-dot is back after an extended absence (it had to be reimplemented).
  • Bug: esc-completion matches case properly.
  • Feature: Added Git Tower to the context menu.
  • Feature: Errors and Warnings window - see a list of all errors and warnings in your document.
  • Feature: Double click on an error to Google it.
  • Feature: Rust and Swift syntax highlighting. Live error checking for Rust.
  • Note: Changed system requirements, now requires 10.9+

New in Chocolat 3.0.1 (Nov 24, 2014)

  • Bug: Fixed PHP code completion.
  • Crash: Fixed a crash with the split switcher.
  • Feature: More flatness in the UI.
  • Bug: Jump to definition works first time.
  • Bug: Code completion doesn't "flash" quite so much now.
  • Note: Switched to the 10.9 SDK. This may cause some problems but it's a necessary evil.
  • Note: For those Mavericks users still on 2.x, a reiteration of changes in 3.0:
  • Note: Yosemite support.
  • Note: Now uses ARC instead of GC.
  • Feature: Mixins are now process-separated.
  • Feature: Git gutter. Shows the changes you make, relative to the last Git commit.
  • Feature: CSS live preview. Web preview updates CSS as-you-type, even if it's in a separate file. There's no need to save to see changes.
  • Feature: Corrected wrap guideline. Works better than the old one (which isn't saying much).
  • Feature: Padding at the bottom of the editor.
  • Note: Padding and wrap guidelines are configurable through View menu/Margin Preferences.
  • Feature: Proper code completion for JavaScript callback functions.
  • Feature: Multicursor mode works with text actions such as uppercase, reverse, indent, etc.
  • Bug: Turned off code completion when in multicursor mode.
  • Feature: cmd-alt-dot is back after an extended absence (it had to be reimplemented).
  • Bug: esc-completion matches case properly.
  • Feature: Added Git Tower to the context menu.
  • Feature: Errors and Warnings window - see a list of all errors and warnings in your document.
  • Feature: Double click on an error to Google it.
  • Feature: Rust and Swift syntax highlighting. Live error checking for Rust.
  • Note: Changed system requirements, now requires 10.9+

New in Chocolat 3.0 (Oct 15, 2014)

  • This update costs $15 for Yosemite users, but is free for Mavericks users.
  • Yosemite support.
  • Now uses ARC instead of GC.
  • Mixins are now process-separated.
  • Git gutter - Shows the changes you make, relative to the last Git commit.
  • New Features:
  • CSS live preview. Web preview updates CSS as-you-type, even if it's in a separate file. There's no need to save to see changes.
  • Corrected wrap guideline. Works better than the old one (which isn't saying much).
  • Padding at the bottom of the editor.
  • Padding and wrap guidelines are configurable through View menu/Margin Preferences.
  • Proper code completion for JavaScript callback functions.
  • Multicursor mode works with text actions such as uppercase, reverse, indent, etc.
  • Added Git Tower to the context menu.
  • Errors and Warnings window - see a list of all errors and warnings in your document.
  • Double click on an error to Google it.
  • Rust and Swift syntax highlighting. Live error checking for Rust.
  • Bug Fixes:
  • Turned off code completion when in multicursor mode.
  • cmd-alt-dot is back after an extended absence (it had to be reimplemented).
  • esc-completion matches case properly.
  • Changed system requirements, now requires 10.9+

New in Chocolat 2.3 (Apr 17, 2014)

  • Feature: Git support in the source list!
  • Note: JSHint now shows error codes
  • Crash: Fixed crash with launch popover on 10.7. Note that this will be the last release to support 10.7 as we prepare for 10.10.

New in Chocolat 2.2.3 (Mar 25, 2014)

  • Feature: A new recent-project popover appears on launch. Can be disabled in preferences.
  • Feature: Move line up/down (ctrl-alt-up/down).
  • Bug: Fixed comments in D, PHP and CoffeeScript.
  • Bug: Fixed reading themes with empty colors (e.g. Toy Chest).
  • Note: Updated JSHint to the latest version.

New in Chocolat 2.2.2 (Mar 19, 2014)

  • Note: Rewritten comment system. Fixed crash.
  • Feature: Comment system now supports block comments!
  • Bug: Clipboard history could make Chocolat run slowly if you copied very large (MBs) blobs of text.
  • Bug: JSHint no longer warns for "undefined" globals.
  • Bug: Fixed refreshing in Go to File.

New in Chocolat 2.2.1 (Mar 7, 2014)

  • Feature: Added a dark status bar so that dark themes don't burn your eyes so much.
  • Feature: Go to Action (cmd-shift-D)
  • Note: Disabled animations in Go to.

New in Chocolat 2.2 (Feb 12, 2014)

  • Feature: Go to... everything!
  • Bug: Improved Go to File search ordering considerably
  • Feature: Stack Overflow search. Type your query straight into Go to
  • Feature: Search actions Go to. Just menu items for now. Prefix with a colon, e.g. ":quit"
  • Feature: Search inside a file by prefixing with a slash, e.g. /foo searches for "foo" in the current file
  • Feature: Go to line numbers as well
  • Note: Made Go to File faster

New in Chocolat 2.1.1 (Dec 27, 2013)

  • Rename folders in sidebar
  • Line highlight no longer covers up bracket highlights if it's opaque
  • Made ctrl-[ switch Vim mode to normal mode if Vim mode is active
  • Added a preference to not close find bar on cmd-F
  • Made the buttons in the create file/directory sheet more descriptive

New in Chocolat 2.1 (Dec 10, 2013)

  • Feature – File -> Reveal in Project Bar
  • Feature – Added "open in browser" button
  • Bug – Supports the Cocoa recents system. This means that the dock menu, and apps like LaunchBar should work with Chocolat.
  • Bug – Hides recent documents they have been deleted or are temporarily inaccessible.
  • Bug – Made PHP autocompletion less annoying
  • Bug – Now forces snippet languages to lowercase
  • Bug – Fixed New File and New Directory context items not working on active files
  • Feature – Added Reveal Below to context menu of active files
  • Bug – Snippet editor no longer inserts smart quotes
  • Crash – Possibly fixed a crash in glyph invalidation

New in Chocolat 2.0.4 (Nov 29, 2013)

  • Bug – Performance improvements
  • Bug – Fixed mixins sometimes not loading on startup
  • Note – Preliminary work on ARCifying Chocolat. Conversion for diglett and the choc CLI tool is complete.
  • Note – Tweaked JSHint default options
  • Note – Improved styling of documentation popovers

New in Chocolat 2.0.3 (Oct 29, 2013)

  • Bug – Fix the codesigning melodrama (10.8 users, consider yourselves fortunate)
  • Bug – Important security fix! Tern now listens on loopback.
  • Bug – Building against the final 10.9 SDK
  • Bug – Selecting C++ in the menu now works
  • Bug – Switched buy buttons over to the new Stripe store
  • Crash – Silenced an exception if diglett fails to start
  • Crash – Disabled the old state-saving code. This improves the accuracy of file state restoration and obliterates crashes from it.

New in Chocolat 2.0.2 (Oct 28, 2013)

  • Building against the final 10.9 SDK
  • Selecting C++ in the menu now works
  • Switched buy buttons over to the new Stripe store
  • Silenced an exception if diglett fails to start
  • Disabled the old state-saving code. This improves the accuracy of file state restoration and obliterates crashes from it.

New in Chocolat 2.0.1 (Sep 28, 2013)

  • Bug – Regular tab triggers work with the snippet editor
  • Bug – Fixed code completion tab triggers in plain text documents

New in Chocolat 2.0 (Sep 13, 2013)

  • Feature – Snippet editor!
  • Feature – Indentation guides!
  • Feature – Select Next/Previous/All Occurrences
  • Note – New default snippets
  • Note – New go completions
  • Bug – Updated CSS completions, including text-shadow

New in Chocolat 1.9 (Aug 13, 2013)

  • Feature – Rewritten project find
  • Feature – Project replacement
  • Feature – JavaScript completions using ternjs
  • Bug – Fixed a bug where the symbol list would stop showing items
  • Bug – Probably fixed a bug where updates would get corrupted (we won't know until 1.9.1)
  • Bug – Fixed active files closing slowly
  • Bug – Fixed a bug where an empty space the size of the titlebar would show in fullscreen mode
  • Bug – Project bar now populates upon saving an untitled document
  • Bug – Fixed a slowness that could occur
  • Feature – Now saves and restores scroll position properly
  • Feature – Enabled Web Inspector on Sarah Palin
  • Feature – Added tab triggers to code completion
  • Bug – Fixed selectionContext API
  • Bug – Fixed Go To Symbol on untitled files
  • Bug – Removed that bloody semicolon from the end of the JavaScript function() snippet (seriously whose idea WAS that?)
  • Bug – Improved retina resources
  • Crash – Moved several things to XPC services
  • Note – Removed support for Autosaving/Versions
  • Note – Removed the Add Tab button from the titlebar
  • Note – Added a cute ewok to Project Find

New in Chocolat 1.6.2 (Mar 27, 2013)

  • Bug – Fixes CPU spikes caused by unnecessary syntax rehighlighting that could accumulate if Chocolat was left open for a while

New in Chocolat 1.6.1 (Mar 20, 2013)

  • Bug – alt-shift-arrowkeys now respects proper word bounaries
  • Note – Rewritten Quick Open's path search. Now has much better searching of directories to files. Remember that to separate path components use slashes, not spaces.
  • Bug – Say goodbye to the dammit button, you can now delete open files!
  • Bug – Pressing return between two end tags no longer inserts an indented newline
  • Bug – Closing project find options shouldn't send project find backwards
  • Bug – Buy button highlights preference toolbar icon
  • Bug – Now will refrain from starting node until there's actually a mixin to run

New in Chocolat 1.6 (Mar 6, 2013)

  • Must keep to the system! It's now March, so the minor version number gets bumped to 1.6
  • Fixed a bug where Strip Trailing Whitespace would strip whitespace unnecessarily causing the whole document to be selected on undo (it still sometimes does this but only if it actually stripped something).
  • Fixed a bug where Strip Trailing Whitespace would skip a line's trailing whitespace
  • Fixed the documentation popover preference sometimes not being honoured
  • Disabled OS X's helpful spelling correction on paste
  • Somewhat improved a crash between node's kqueues and FSEvents, but the matter remains unsolved
  • Possibly fixed an unhandled exception when typing
  • Now shows an alert if you try to rename a file to one that already exists
  • Fixed line spacing preference so that 0 is supported
  • Can now run bash scripts
  • Fixed regex options to work properly-ish

New in Chocolat 1.5.1 (Feb 27, 2013)

  • Fixed snippet tab triggers being broken due to a funny consequence of autosynthesized properties
  • Replaced python def and class snippets in prep for snippet editor soon
  • Fixed a bug where web preview would stop updating in windowed mode

New in Chocolat 1.5 (Feb 26, 2013)

  • Feature – New Python completions
  • Feature – New Ruby completions
  • Feature – New PHP completions
  • Feature – Documentation popovers
  • Note – Array

New in Chocolat 1.4.1 (Oct 22, 2012)

  • Enabled spell checking for text files and similar
  • Disabled whitespace stripping if there are active folds
  • Saving multiple times would "dirty" a document if whitespace stripping was enabled
  • Fixed a bug where undos would not be specific to the active editor
  • Fixed a bug where Chocolat would not find ruby 1.9 if using rvm/rbenv
  • Added a preference to use PeepOpen instead of Chocolat's own Go to File
  • Inserting a soft tab now inserts spaces up to the next tab stop.
  • Missing fonts (again)
  • Added a refresh button to Go to File
  • Disabled the Web Inspector button on 10.8 until we can work out how to get it to work again. It was nice while it lasted...
  • Renaming a theme resorts the list
  • Comment Line handles lines with less indentation than the first one

New in Chocolat 1.4 (Oct 11, 2012)

  • Strip trailing whitespace
  • Removed hang when loading a project by switching to SQLite for project storage
  • Performance improvements. Reduced idle CPU usage, and removed some hangs.
  • Added dock menu.
  • Fixed focusing of blank tab view's search field
  • Right click on a directory in the source list to "Open in New Tab" or "Open in New Window"
  • Shows a highlight around source list items on right click so that you can see which one you clicked on
  • Possibly fixed Comment Line not working for some people. I was never able to reproduce this bug, we'll see if this fixes things

New in Chocolat 1.3.2 (Sep 29, 2012)

  • Feature – Image previews
  • Feature – Hide line numbers
  • Feature – Drag to reorder active files
  • Feature – Subword movement using alt-ctrl-left/right (or ctrl-left/right you have that system shortcut disabled in System Preferences)
  • Bug – Code completion moves above current line if clipped by bottom of screen
  • Bug – Allow tabbing into document from find bar replace field

New in Chocolat 1.3.1 (Sep 24, 2012)

  • Feature – "Blank Tab Screen" to replace the big gray rectangle if no files are open in a tab. Shows a list of recent files (the list is persisted to disk so you get a list of the files you were working on last time a project was open). Plus there's a search field which has the full power of Go to File.
  • Bug – choc now opens subdirectories of a directory that's already open
  • Feature – Can now specify line numbers to choc by passing the -l flag, or appending a colon and the line number to the path.
  • Bug – Fixed a bug that prevented rich people from switching between tabs.
  • Note – Shows "cmd-shift-esc to cancel" in the status bar when in multicursor mode
  • Bug – choc now creates intermediate directories
  • Feature – Notifies if the choc CLI is out of date
  • Bug – Disabled automatically showing the project bar for files in temporary locations
  • Crash – Fixed crash in code completion when manually invoking when multiple lines were selected
  • Crash – Fixed crash when dragging certain items in the source list

New in Chocolat 1.3 (Sep 10, 2012)

  • Feature – Scripting API! Read more at http://chocolatapp.com/blog/?chocolat-node
  • Note – Because of the small number of Snow Leopard users, and the requirements of the scripting API, Chocolat now requires 10.7 or later.
  • Bug – Performance improvements.

New in Chocolat 1.2 (Aug 2, 2012)

  • Note – We're working on a big new feature for Chocolat. While you wait, here's an update of small fixes.
  • Feature – "Duplicate..." context menu item
  • Feature – Text > Lines > Delete Line (cmd-shift-delete)
  • Note – Nuked "invalid" syntax highlighting from orbit.
  • Feature – cmd-left now goes to the end of the indentation of a line. Press it again to go to the actual start. If this feature offends you, there's a preference for it.
  • Note – The duplicate line action now moves the selection down an equivalent amount
  • Note – Selecting a line multiple times selects more and more lines
  • Bug – Disabled cut and copy if no text is selected
  • Note – Can now alt-double click on a word to create a multicursor selection of that word.
  • Bug – Jump to Definition didn't work unless Go to Symbol had been opened first
  • Bug – Double clicking in Go to File now works
  • Feature – Added a context menu item for Open in New Window. Previously, this was (and remains) possible by double clicking.
  • Bug – Can now drag project name in source list.
  • Bug – Indexed code completions are now scoped

New in Chocolat 1.1.3 (Jul 20, 2012)

  • Feature – Wrote an entirely new implementation of Ctags just for Chocolat. Much better symbols for C, Clojure, CoffeeScript, Java, Lua, Objective-C, PHP, Python, R and Ruby.
  • Crash – Doesn't crash if a font doesn't exist (in theory)
  • Crash – Oops, left some debugging code in 1.1.2, which neatly caused crashes on every computer except for mine.

New in Chocolat 1.1.1 (Jul 11, 2012)

  • Note – Signed with Developer ID in preparation for Gatekeeper
  • Feature – Code completion now completes function/method arguments (for user functions; library function support only for PHP at the moment)
  • Feature – R code completion (thanks feju)
  • Feature – Lua code completion
  • Feature – Better C++11 code completion support (work in progress)
  • Feature – LESS, SASS and SCSS code completion
  • Crash – Fixes a crash in CSS completion

New in Chocolat 1.1 (Jul 3, 2012)

  • Note – A note on our version number scheme - the second digit is the number of months since the last major version. 1.0 was June, we're in July now, hence the version number is 1.1
  • Feature – CSS3 support in code completion
  • Feature – HTML event attributes (onload, onclick, etc)
  • Feature – Color picker now appears in code completion menu
  • Feature – Added some default font stacks to CSS completion
  • Note – Code completion now shows for CSS values even if there's nothing there
  • Bug – Fixed running C++ files
  • Bug – Disabled html code completion in markdown

New in Chocolat 1.0 (Jun 28, 2012)

  • Feature – Major improvements to the version number.
  • Note – Thanks to everybody who tested, bought and helped us get to 1.0!
  • Bug – Made live errors more stable
  • Bug – Fixed an unhandled exception

New in Chocolat 0.18 Beta (Jun 22, 2012)

  • Bug – This definitely, maybe, fixes the issue with Snow Leopard.
  • Note – Sorry about the kerfuffle.

New in Chocolat 0.17 Beta (Jun 21, 2012)

  • Bug – Fixed performance regression due to last update's the font fix (this does depend on the font though. Chocolat will be slightly slower if you're using a non-Menlo font that has multiple styles)
  • Bug – Fixes bug on Snow Leopard, because apparently there is still somebody using it.
  • Bug – Fixes indentation when pressing return in between angle brackets that are not opening and closing tags.

New in Chocolat 0.16 Beta (Jun 18, 2012)

  • Note – Release Candidate 1
  • Feature – Retina-ready
  • Bug – Save as sheet now works in projects
  • Bug – A bug where users would be unable to create blank themes if they had no existing themes
  • Bug – Garbled glyphs with non-standard fonts
  • Note – Can now double click an empty space in the tab bar to create a new tab
  • Note – Maybe fixed a crash on 32-bit Snow Leopard (I don't know, I can't test)
  • Bug – Quick open no longer follows symlink'd directories
  • Bug – Fixed markdown bold/italic highlighting

New in Chocolat 0.15 Beta (Jun 4, 2012)

  • Note – Since Chocolat is getting stable, "Save on Defocus" is now OFF by default. If you want it on, you will have to reenable it in Preferences.
  • Feature – Redesigned tabs. Thanks peteshaffner!
  • Crash – Fixed a bunch of crashes
  • Crash – Fixed a crash if the default font gets deleted
  • Note – Made the preorder button look a bit nicer, henceforth to be called the "panic button"
  • Bug – cmd-number worked if you had additional modifiers
  • Note – Removed syntax highlighting rules for plain text. Much faster with large files.
  • Note – Removed Experimental Features setting that hasn't done anything useful for a while
  • Note – Optimized pngs, deleted unused resources, etc. Chocolat is a little bit smaller.

New in Chocolat 0.14 Beta (May 24, 2012)

  • Feature – Added launch bar
  • Bug – Adjusted autoreindentation on paste
  • Bug – Turned off ligatures
  • Bug – Fixed find bar setting negative scroll position
  • Bug – No longer does regex searches as you type to prevent users accidentally searching for pathological cases
  • Bug – Added checkmarks to Project Bar and Symbol List
  • Note – Duplicate line is now ctrl-shift-D
  • Bug – ctrl-clicking works for showing project bar context menu
  • Bug – Hides project bar menu for untitled windows
  • Bug – Now saves project bookmarks as the tab's project not the document's
  • Bug – Now disambiguates folder names in the source list
  • Feature – alt-double-click to open a new window
  • Note – Now accepts Perl-style regex replacements ($3 vs \3)
  • Bug – Now uses the filename for files with no extension
  • Bug – Fixed cmd-alt-drag

New in Chocolat 0.13 Beta (May 15, 2012)

  • Fixed the preorder button on 10.6
  • Fixed the left paren being highlighted improperly (caused by an invalid parse tree)
  • Handles base properly in syntaxes (in other words, ObjC syntax highlights properly)
  • Now cycles through tabs
  • Can now show scope in status bar
  • Blank window when opening a project
  • Can now hide the status bar
  • Jump to Definition now works if there's no active file
  • cmd-alt-plus/minus to temporarily change font size.
  • Fixed a crash in the status bar
  • Creating a workspace will now NOT create an untitled document, if part of a project
  • Workspaces are now named by their parent folder
  • Changes are now be saved properly on update (not valid until the next update, obviously)
  • Can now use cmd-R to reload web preview while it is open
  • Added a find panel to web preview and the documentation viewer
  • Added Save All
  • Disambiguation works better
  • Fixed a bug where files would not be opened in their natural project
  • Added an insert button to clipboard history
  • Added New Window button to new file sheet

New in Chocolat 0.12 Beta (May 7, 2012)

  • Feature – Now counts down to release! We're not sure if this will stay the actual release date, but it certainly feels important.
  • Feature – Rewrote the code for Chocolat's trial, including a slick in-app store, and our patented Comic Sans Persuasion System.
  • Note – Disabled the code completion animation.
  • Note – Added a link to our unfinished documentation.
  • Note – Can now search documentation in the help menu.
  • Bug – Web preview now updates when you switch between text views
  • Bug – Fixed a couple more bugs in snippets
  • Note – Added building definitions for PHP
  • Note – Modified tm2truffle to be more aggressive in discarding non-working commands
  • Note – Actions menu now shows tab triggers
  • Bug – Pressing cmd-shift-C hides the color panel if it's visible
  • Bug – choc with no arguments now makes Chocolat active even if Chocolat is already running (you will need to reinstall choc)
  • Bug – Spaces in execute in terminal paths work
  • Bug – Long folder names in the source list are now truncated
  • Bug – Fixed Save As panel
  • Bug – Grayed out some menu items when wouldn't do anything

New in Chocolat 0.11.1 Beta (May 1, 2012)

  • Crash – Fixed a crash in Beta 11 with invalid documentation definitions
  • Feature – Drastic improvements to html and css code completion
  • Bug – Project find incremental results updates less often
  • Bug – Fixed a bug in snippets where nested tabstops would shift too far to the right
  • Bug – Fixed a bug which was preventing embedded CSS, JS or Django from being highlighted correctly
  • Note – Added a button to web preview to show the web inspector.
  • Crash – Fixed a somewhat common crash in the status bar
  • Bug – Fixed project find getting "stuck" if you closed the window and reopened it
  • Bug – Fixed autoindentation when inserting a newline between a start and end tag
  • Bug – Fixed a race condition where code completion would trigger too "late" and you would have more characters than necessary. Probably. You can never tell with race conditions.
  • Note – Autopairs django-style {% %} blocks
  • Bug – Fixed PHP comment line command

New in Chocolat 0.11 Beta (Apr 30, 2012)

  • Feature – Drastic improvements to html and css code completion
  • Bug – Project find incremental results updates less often
  • Bug – Fixed a bug in snippets where nested tabstops would shift too far to the right
  • Bug – Fixed a bug which was preventing embedded CSS, JS or Django from being highlighted correctly
  • Note – Added a button to web preview to show the web inspector.
  • Crash – Fixed a somewhat common crash in the status bar
  • Bug – Fixed project find getting "stuck" if you closed the window and reopened it
  • Bug – Fixed autoindentation when inserting a newline between a start and end tag
  • Bug – Fixed a race condition where code completion would trigger too "late" and you would have more characters than necessary. Probably. You can never tell with race conditions.
  • Note – Autopairs django-style {% %} blocks

New in Chocolat 0.10 Beta (Apr 23, 2012)

  • Feature – Text > Edit Color
  • Bug – Snippets are much better
  • Note – Project find results now update progressively
  • Bug – Fixed ignoring directories in project find
  • Bug – The options window no longer breaks when it's closed and reopened.
  • Bug – Project find runs the search again if it encounters a problem the first time (the astute reader will notice that this is a massive hack)
  • Note – Added a URL field to web preview
  • Note – Web preview can now be split into a new window
  • Note – Added back/forward/reload buttons to web preview

New in Chocolat 0.9 Beta (Apr 16, 2012)

  • Code folding
  • Clicking on the gutter now selects the split
  • Added filename + close buttons to splits
  • Eradicated some hangs when Chocolat is first used after launch
  • Can now drag files from the source list
  • Now shows labels in the source list

New in Chocolat 0.8 Beta (Mar 29, 2012)

  • Templates! But not as you know them...
  • Templates are only available if you've preordered, since they occupy the same place as the preorder button. So erm, preorder now!
  • Preorder nag changed to "Upgrade your OS" nag on Snow Leopard. Seriously people, whenever I'm push an update, I have to test it on Snow Leopard using VMWare. AND IT TOTALLY BURNS MY WRISTS! Please think of my wrists, upgrade your OS.
  • Symbol list menu, in the statusbar.
  • Preference to highlight identical words
  • can now press alt to toggle a selection between normal and blockedit modes.
  • 8 important fixes to snippets that I am too sleepy to detail here.
  • Clarified the Deactivate alert to be clearer that you can install Chocolat on more than one computer at once.
  • Multicursor mode now scrolls when dragging
  • Regex replace now works better
  • Added .svg to Info.plist
  • Find in project now jumps to the right line

New in Chocolat 0.7 Beta (Mar 13, 2012)

  • Feature – Now supports Less, Scala, Go and Sass.
  • Feature – Renaming files
  • Bug – Project find now works properly.
  • Bug – Now lets you delete files that have no open splits (sort of...)
  • Bug – Fixed a bug where the project bar would appear randomly
  • Note – cmd-N is now bound to the New File sheet when in a project. Use cmd-shift-N for the previous behaviour.
  • Bug – Is now more reliable at detecting when a window is part of a project
  • Note – Added comment definitions for more languages
  • Bug – choc -w now works as expected... hopefully
  • Crash – Fixed a crash with regex replacement
  • Bug – In the find bar, the Replace All now works even if no text is selected
  • Note – In the find bar, the Return key now inserts newlines
  • Bug – Documents don't always update to match changes (especially if they're not visible)
  • Bug – No longer unindents past the previous line if the previous line is an increase (that's a good thing)
  • Bug – Fixed a bug with indentation rules
  • Bug – Adding a file now refreshes the Go to File index
  • Feature – Added some more options to Project Find. Can now ignore directories, etc.
  • Note – Can now customize which files are hidden/shown from the project bar
  • Note – Throws a pokeball at diglett if it doesn't respond for 30 seconds

New in Chocolat 0.6 Beta (Feb 29, 2012)

  • Feature – Vim mode! alt-cmd-V to activate. All credit to http://github.com/WarWithinMe/xVim
  • Bug – choc -w now works if the file is closed
  • Bug – Fixed project find

New in Chocolat 0.5 Beta (Feb 25, 2012)

  • Lots of performance improvements
  • Fixes a bug with pasting
  • Web preview now reloads without doing a reload
  • Now includes a preference for line spacing
  • Now allows antialiasing to be turned off
  • choc is now installed using an installer .pkg
  • Added Solarized (and others) to the set of default themes

New in Chocolat 0.4 Beta (Feb 15, 2012)

  • File state restoration.
  • Fixed a bug where the dirty dot would fail to change
  • Unsaved documents are now marked as such in the source list
  • Improved smart pasting some more
  • No longer unindents on a newline
  • Stopped all that beeping when you do cmd-R
  • Indexing now supports PHP and Objective-C
  • Go to File now selects the previous file in the list when it's opened
  • Hacked around a bug where documents could become "orphaned" and unopenable
  • Now displays "PHP" in the status bar in PHP mode instead of HTML. This was the most important bug evar in Chocolat, apparently.

New in Chocolat 0.3 Beta (Feb 8, 2012)

  • Crash – Fixed a bug where Chocolat would not clean up old processes properly
  • Bug – Indented paste now works a little bit better
  • Bug – In the process of rewriting snippets, so some snippets might not work correctly (while others will work better).

New in Chocolat 0.2 Beta (Feb 4, 2012)

  • Crash – Fixed a crash with diagnostics
  • Bug – Fixed a bug where pasting wouldn't work in certain cases
  • Bug – Cursor is now back to being invisible again on dark themes. On the plus side, it doesn't flicker all the time.
  • Note – Simplified the menus a bit
  • Bug – Copying and pasting a line now pastes it at the correct indentation level
  • Bug – Drawing multicursor blocks on column 0 now works
  • Bug – Copy and pasting in multicursor mode works properly again

New in Chocolat 0.1 Beta (Feb 2, 2012)

  • Multicursor editing (aka blockedit)
  • Live error checking
  • Code completion now works on Snow Leopard
  • Paste now respects indentation (use cmd-ctrl-V to paste verbatim)
  • Fixed automatic unindentation
  • cmd-R now works with unsaved files
  • cmd-R and friends now reuse terminal windows
  • Fixed a bug where Chocolat would fail to clean up temporary files

New in Chocolat 0.0.57 Alpha (Jan 10, 2012)

  • Feature – The icon has been improved a touch
  • Feature – cmd-alt-up/down to select outer and inner bracketed blocks.
  • Bug – Fixed a bug with project find.
  • Bug – Scripts now get their context updated each run. (fixes a regression with comment-line in the last update)
  • Bug – Comment Line no longer deletes text from the start of unindented lines
  • Bug – Comment Line now selects roughly the same region after commenting
  • Bug – Ligatures are off by default

New in Chocolat 0.0.56 Alpha (Jan 3, 2012)

  • Feature – Recent projects menu
  • Bug – Recent files now disambiguates files with the same name
  • Note – Boosted maximum number of recent documents to 25
  • Feature – Now applies heuristics to determine whether a file uses tabs or spaces for indentation, and if spaces, what the tab size is.
  • Feature – Line numbers now displayed proportionally
  • Bug – The mouse cursor now contrasts with the background color.
  • Note – Moved Run/REPL/Build/etc actions to the root of the Actions menu to make them more visible
  • Bug – Comment line now supports more languages + block comments
  • Bug – alt-rightarrow no longer skips to the start of the document if pressed at the start of the last word
  • Note – Nixed the find bar animation
  • Bug – Fixed that annoying beep when pressing escape in the find bar
  • Bug – The find bar no longer 'jumps' forward when deleting the whole query
  • Bug – Fixed 'Use Selection for Find' (and no, I'm not going to change the shortcut! >:o)
  • Bug – The find bar now scrolls the text view to keep itself in the same place, if possible

New in Chocolat 0.0.55 Alpha (Dec 27, 2011)

  • Crash – Fixes a regression from the last update where the cache would be modified while it was saving

New in Chocolat 0.0.54 Alpha (Dec 27, 2011)

  • Bug – Large performance improvements when typing
  • Feature – Wrap guideline (work in progress)
  • Feature – ctrl-cmd-left/right to switch between splits
  • Feature – Added context menu items to Move File/Directory to Trash
  • Note – Now shows the project name in the window title.
  • Bug – Go to File now respects tabs
  • Feature – Cmd-Return in Go to File will open in a new split
  • Bug – choc called with no arguments now launches Chocolat.
  • Bug – Made choc faster at launching Chocolat.
  • Crash – Fixed an occasional crash in the symbol list

New in Chocolat 0.0.53 Alpha (Dec 13, 2011)

  • Feature – Swipe left and right to go back/forward
  • Note – Added a close button to the documentation viewer
  • Bug – Rewrote Go to File to be much faster
  • Bug – Files ending with ".com" now appear in the source list.
  • Bug – Fixed a situation where the source list would not be updated if directories under it changed
  • Bug – Fixed a minor bug that caused some harmless error messages about FSEvents to be printed (the horror)

New in Chocolat 0.0.52 Alpha (Dec 7, 2011)

  • The at key now works

New in Chocolat 0.0.51 Alpha (Dec 7, 2011)

  • Bug – Rewrote autopairing algorithm to be less irritating
  • Feature – Selecting text and pressing a quote key wraps the text in quotes and add escapes sequences

New in Chocolat 0.0.50 Alpha (Dec 5, 2011)

  • Feature – Web Preview has been moved to a split. Activate it with cmd-ctrl-alt-P as usual.
  • Feature – Documentation viewer (occupies the same space as the web preview split). Activate with cmd-ctrl-alt-D.
  • Feature – Jump to Documentation. Position your cursor over or next to a word, then press cmd-shift-J. This is *really* cool.
  • Crash – Fixed a bug where failing to spawn a subprocess would cause phantom crash reporter dialogs.
  • Crash – Next/preview symbol with no selection in the symbol list.
  • Crash – Possibly fixed a race condition in syntax highlighting
  • Bug – Performance increases from fixing a case where the text view would be drawn too often
  • Note – Tweaked code completion confidence some more. It's now more confident about CSS. No longer shows any code completion if the word matches in its entirety.

New in Chocolat 0.0.49 Alpha (Nov 23, 2011)

  • Note – Added a dummy menu item for PHP
  • Feature – Cmd-Return for "Insert Line Below" and Cmd-Shift-Return for "Insert Line Above".
  • Bug – Fixed a bug where code completion would stay around when it shouldn't
  • Feature – Go -> Make Active (cmd-shift-1)
  • Bug – Fixed bugs where code completion would not hidden properly
  • Note – Code completion now only shows automatically if there's at least 4 characters remaining
  • Feature – Added previous/next symbol actions (cmd-alt-{left,right})
  • Feature – cmd-J to quickly jump to the definition of a symbol
  • Bug – Many miscellaneous tweaks to the UI

New in Chocolat 0.0.47 Alpha (Nov 15, 2011)

  • Feature – Code Completion!
  • Note – If you find code completion irritating, it can be turned off in General preferences.
  • Bug – Fixed a wide-ranging bug with selectors

New in Chocolat 0.0.46 Alpha (Nov 5, 2011)

  • Feature – Symbol list now indents child items
  • Note – Reshuffled menu items - "Quick Open" is now "Go to File" and lives in the Go menu.
  • Bug – Tweaked project detection so that it's more confident
  • Bug – Turned off non-contiguous layout (it was a bit weird, wasn't it?)
  • Note – Changed selection behaviour of Quick open
  • Note – Set the default do-not-verify to skip checksum verification.

New in Chocolat 0.0.45 Alpha (Nov 2, 2011)

  • Symbol List
  • Chocolat now verifies itself at startup via a checksum.
  • Very unfinished code completion. Alt-esc to show it.
  • The indexer no longer generates duplicate symbols
  • Fixed an issue where shell commands would not receive an environment