Skip to content

Commit

Permalink
Readme changes
Browse files Browse the repository at this point in the history
nothing new...
Build system and error report are coming, stay tuned!
  • Loading branch information
Zinggi committed Feb 19, 2013
1 parent 64b5932 commit 375420c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,11 @@ Planned

Installation
------------
**For now use Manual method, because it's not yet included in Package Control**
**Very easy with [Package Control](http://wbond.net/sublime_packages/package_control "http://wbond.net/sublime_packages/package_control") right inside Sublime Text 2 (Package Control needs to be installed):**

**Very easy with [Package Control](http://wbond.net/sublime_packages/package_control "http://wbond.net/sublime_packages/package_control") right inside Sublime Text 2 (Package Control needs to be installed):**

1. Ctrl + shift + P
2. Search for "inst", hit enter
3. Search for "UnrealScriptIDE", hit enter
1. Ctrl + shift + P
2. Search for "inst", hit enter
3. Search for "UnrealScriptIDE", hit enter

**Manually (not recommended):**

Expand Down
6 changes: 3 additions & 3 deletions UnrealScriptAutocomplete.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#-----------------------------------------------------------------------------------
# UnrealScript Auto-complete Plug-in
# UnrealScriptIDE Auto-complete Plug-in
#-----------------------------------------------------------------------------------
# This plug-in displays UnrealScript Functions with parameters.
# It searches in all parent classes of the current class.
Expand Down Expand Up @@ -108,7 +108,7 @@ def open_file(self, file_name, line_number=1, b_new_start_point=False):
last_location = "%s:%d" % (active_file, row + 1)

if os.path.exists(file_name):
# somehow calling this twice fixes a bug that makes sublime crash...
# somehow calling this twice fixes a bug that makes sublime crash, no idea why though...
window.open_file(file_name + ':' + str(line_number) + ':0', sublime.ENCODED_POSITION | sublime.TRANSIENT)
window.open_file(file_name + ':' + str(line_number) + ':0', sublime.ENCODED_POSITION | sublime.TRANSIENT)
current_location = file_name
Expand Down Expand Up @@ -234,7 +234,7 @@ def on_post_save(self, view): # gets called when a file is saved. reset everyth

# start parsing when a tab becomes active
def on_activated(self, view):
self.clear() # empty the function list, so that we only get the relevant ones.
self.clear() # empty the completions list, so that we only get the relevant ones.

if view.file_name() != None and is_unrealscript_file(view.file_name()):
open_folder_arr = view.window().folders() # Gets all opened folders in the Sublime Text editor.
Expand Down

0 comments on commit 375420c

Please sign in to comment.