See previous example is broken here is original file https://dl.dropboxusercontent.com/u/9303546/SublimeText/bugs/SpacesToTabs.py
this markdown thing, I hate it. Stop breaking the web, give users preferences, your ideas are crap.
See previous example is broken here is original file https://dl.dropboxusercontent.com/u/9303546/SublimeText/bugs/SpacesToTabs.py
this markdown thing, I hate it. Stop breaking the web, give users preferences, your ideas are crap.
import re, sublime, sublime_plugin
class SpaceToTabsListener(sublime_plugin.EventListener):
def on_post_text_command(self, view, command_name, args):
if command_name == 'insert' and args['characters'] == '\n' and not view.settings().get('translate_tabs_to_spaces'):
view.run_command('unexpand_tabs', {"set_translate_tabs":True})
view.run_command('space_to_tabs')
class SpaceToTabsCommand(sublime_plugin.TextCommand):
def run(self, edit):
view = self.view
for region in reversed(view.sel()):
indentation = sublime.Region(view.line(region).begin(), region.end())
content = view.substr(indentation)
if re.search('^\t+ +', content):
view.replace(edit, indentation, re.sub('^(\t+)( +)', '\\1\t', content))
When you attempt to create a new topic, Discourse automatically prompts you with related topics in order to redirect you to them. This is the best way of trying to prevent duplicates that I have seen so far. All users must have deliberately ignored this popup. (Or the search results are bad.)
@tito: Never had any problems with it, but it seems you encountered a bug.
Except for the fact that all your code using tabs is rendered with a tab-width of 8 because that’s what browsers default to. pls don’t use tabs
Edit: This post was a reply to a now-deleted post.
One issue…ish is that old release announcements are still closed. I guess they should be closed as soon as a new release announcement is posted. Reasoning:
Please add the “Solved” Discourse plugin.
Also, please split off tito’s posts regarding tabs and whatnot into a different topic so that we can have a thread like the API suggestions thread with on-topic suggestions and users being able to like/vote on posts.
I revive this thread to sugges another plugin: push notification.
And do update the forum to the latest version and enable tags
Nope, those are desktop notification, which requires to have forum opened in a tab.
Push notifications are a different beast, which requires nothing opened. Just works (also on mobile)
how does the Solved plugin work?
are we on the latest stable discourse version now?
I don’t think it is enabled :/. I found this talking about the Discourse solved plugin: https://meta.discourse.org/t/discourse-solved-accepted-answer-plugin/30155.
Solved button is visible only to post authors and only if is enabled on a per category basis (or global).
Right now it seems that is enabled only for #technical-support category.
Was the last version until 7 minutes ago
If I go to create a new thread in #technical-support, I don’t see an option to enable solve/unsolved. Does it ask you on submit?
there will be a tick box next to replies to your post in #technical-support which you can use to mark the reply as solving your problem
Thanks @kingkeith! I had to search for one of my old posts on #technical-support to see it.