I suggest the following workaround, it works for me on PhpStorm 9.0:
- Open Settings page (usually Ctrl+Alt+S), go to Plugins -> Browse Repositories
- Find and install BackgroundImage plugin
- Restart IDE, it may output an error, something like "unknown protocol d" - don't worry, go forth
- Make an image with height=1px, and width=(desired width of additional margin). Give it, say, white background and paint one rightmost pixel to say, black. I took a screenshot of an editor and cropped it in PS, to avoid annoying search and adjustment of the image width. Every change of background image requires to restart PhpStorm.
- Open Settings again, goto Other settings -> BackgroundImage
- Set Enabled checkbox, browse your created image, and check the FileSystem radio button
- Restart IDE again and change the margin and you will get two margins
The image is left-aligned, so when you resize an editor on x-axis (move the splitter between Editor and Project View or File System View, etc.), the margin will remain truthy.
Some side-effects - it appears also on console window, event log, perhaps somewhere else.
If the plugin doesn't work, check out this page (there said that most JetBrains plugins should work on all products on IntelliJ Platform, and some workaround if they does not): http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/plugin_compatibility.html
ADDED: Doesn't work with scaling an editor (Ctrl + MouseWheel) - the scale of the image (fake margin), remains the same and the margin becomes not truthy.