initial commit
* Added comment toggling capability
* Added indentation settings to indent by one space
* Added meta section for comments
diff --git a/indentrainmeter.py b/indentrainmeter.py
new file mode 100644
index 0000000..f4791cb
--- /dev/null
+++ b/indentrainmeter.py
@@ -0,0 +1,36 @@
+import sublime, sublime_plugin, re
+
+class IndentRainmeterCommand(sublime_plugin.TextCommand):
+	def run(self, edit):
+		#compile regexs to be used later
+		rwhitespace_line = re.compile("^([ \\t]*)(.*)$")
+		rfold_comment = re.compile("^([ \\t]*)(;;.*)")
+		rsection_head = re.compile("^([ \\t]*)(\\[.*)$")
+
+		#traverse view line by line
+		line_count = len(self.view.lines(sublime.Region(0, self.view.size())))
+
+		current_indent = -1
+
+		for i in range(0, line_count):
+			lines = self.view.lines(sublime.Region(0, self.view.size()))
+			line = lines[i]
+			line_content = self.view.substr(line)
+
+			mfc = rfold_comment.search(line_content)
+			#if current line is section head, extract indentation
+			if mfc:
+				current_indent = len(mfc.group(1))
+			#else indent current line one more than last section head
+			else:
+				#strip leading whitespace
+				mwl = rwhitespace_line.search(line_content)
+				stripped_line = ""
+				if mwl:
+					stripped_line = mwl.group(2)
+				#indent section heads by one more
+				mse = rsection_head.search(stripped_line)
+				if mse:
+					self.view.replace(edit, line, "\t" * (current_indent+1) + stripped_line)
+				else: #indent key = value line two more
+					self.view.replace(edit, line, "\t" * (current_indent+2) + stripped_line)
* Added plugin that indents Rainmeter code so code folding can be used. Comment lines that start with a double semicolon: ";;" are the top-level folding markers. Everything under a section head is also indented so it can be folded
* Added key combination alt+i to activate indentation plugin
* changed indentation shortcut to ctrl+alt+i and made it limited to Rainmeter source files

* renamed snippets to start with a t (for template) so they don't interfere with word completion so much
* Changed Rainmeter build path to standard install path. Can be overridden by copying the sublime-build file to the User directory and changing the path.\n
* Changed completion of math function names so they are no longer offered when typing "1"
* Added menu entry to activate indentation plugin.
* Fixed Syntax highlighting to not highlight !ActivateConfigGroup
* Sorted completions partially alphabetically
* Added arguments to bang completions
* Added description to snippets
* Removed MeterStyles heading from skin template because it should rarely be needed
* Modified indentation plugin to enable correct code folding if something else than a section heading follows a ;; line
* Added .pyc to .gitignore
* Added Color Picker plugin to Rainmeter package (ctrl+shift+c)
* Added new color schemes
* Deleted old color scheme
* Moved Rainmeter menu entry one level up (subject to change)
* Modified Syntax definition for proper highlighting of @include in Variables section
* Renamed invalid scope to invalid.rainmeter
* Adjusted some Plugin names (with "Plugin" at the end)
* Added Plugin snippets
* Changed exit point of snippets to line below last option
* Changed Section variable definition to correctly capture section specifiers that include colons, like [Meter:MinValue:/100]
* Added Commands to Command Palette
* Added Linux and OSX versions of Color Picker
added tmLanguage file
Merge branch 'master' of https://github.com/MerlinTheRed/sublime-rainmeter