NINJA-IDE

Contents

Module: main_container.py API

No description.


Class: _MainContainer(QWidget)

class _MainContainer(QWidget):
beforeFileSaved(QString)
fileSaved(QString)
currentTabChanged(QString)
locateFunction(QString, QString, bool) [functionName, filePath, isVariable]
openProject(QString)
openPreferences()
dontOpenStartPage()
navigateCode(bool, int)
addBackItemNavigation()
updateLocator(QString)
updateFileMetadata()
findOcurrences(QString)
cursorPositionChange(int, int) #row, col
fileOpened(QString)
newFileOpened(QString)
recentTabsModified(QStringList)
migrationAnalyzed()
allTabClosed()

Function: __init__(parent=None) [at ln:88]

def __init__(parent=None):

No description.


Function: __navigate_with_keyboard(val) [at ln:259]

def __navigate_with_keyboard(val):
Navigate between the positions in the jump history stack.

Function: __open_file(fileName=str, cursorPosition=int, tabIndex=None, positionIsLineNumber=False) [at ln:866]

def __open_file(fileName=str, cursorPosition=int, tabIndex=None, positionIsLineNumber=False):

No description.


Function: _current_tab_changed(index) [at ln:595]

def _current_tab_changed(index):
Notify the new ID of the current tab.

Function: _cursor_position_changed(row, col) [at ln:752]

def _cursor_position_changed(row, col):

No description.


Function: _editor_keyPressEvent(event) [at ln:772]

def _editor_keyPressEvent(event):

No description.


Function: _editor_locate_function(function, filePath, isVariable) [at ln:775]

def _editor_locate_function(function, filePath, isVariable):

No description.


Function: _editor_tab_was_modified(val=True) [at ln:779]

def _editor_tab_was_modified(val=True):

No description.


Function: _editor_tab_was_saved(editorWidget=None) [at ln:782]

def _editor_tab_was_saved(editorWidget=None):

No description.


Function: _find_occurrences(word) [at ln:755]

def _find_occurrences(word):

No description.


Function: _get_save_folder(fileName) [at ln:1043]

def _get_save_folder(fileName):

No description.


Function: _hide_icon_tab_indicator(editorWidget) [at ln:766]

def _hide_icon_tab_indicator(editorWidget):

No description.


Function: _main_without_tabs() [at ln:591]

def _main_without_tabs():
Notify that there are no more tabs opened.

Function: _move_tab(forward=True, widget=None) [at ln:908]

def _move_tab(forward=True, widget=None):

No description.


Function: _navigate_bookmarks(val) [at ln:326]

def _navigate_bookmarks(val):
Navigate between the bookmarks.

Function: _navigate_breakpoints(val) [at ln:286]

def _navigate_breakpoints(val):
Navigate between the breakpoints.

Function: _navigate_code_jumps(val) [at ln:268]

def _navigate_code_jumps(val):
Navigate between the jump points.

Function: _recent_files_changed(files) [at ln:547]

def _recent_files_changed(files):

No description.


Function: _show_tab_indicator(editorWidget, icon) [at ln:758]

def _show_tab_indicator(editorWidget, icon):

No description.


Function: _specify_syntax(widget, syntaxLang) [at ln:1158]

def _specify_syntax(widget, syntaxLang):

No description.


Function: _split_this_tab(tab, index, orientationHorizontal) [at ln:610]

def _split_this_tab(tab, index, orientationHorizontal):

No description.


Function: add_back_item_navigation() [at ln:230]

def add_back_item_navigation():
Add an item to the back stack and reset the forward stack.

Function: add_bookmark_breakpoint() [at ln:248]

def add_bookmark_breakpoint():
Add a bookmark or breakpoint to the current file in the editor.

Function: add_editor(fileName=str, tabIndex=None) [at ln:659]

def add_editor(fileName=str, tabIndex=None):

No description.


Function: add_tab(widget, tabName, tabIndex=None) [at ln:815]

def add_tab(widget, tabName, tabIndex=None):

No description.


Function: apply_editor_theme(family, size) [at ln:1162]

def apply_editor_theme(family, size):

No description.


Function: call_editors_function(call_function, *arguments) [at ln:1093]

def call_editors_function(call_function, *arguments):

No description.


Function: change_open_tab_id(idname, newId) [at ln:930]

def change_open_tab_id(idname, newId):
Search for the Tab with idname, and set the newId to that Tab.

Function: change_split_focus() [at ln:1201]

def change_split_focus():

No description.


Function: change_tab() [at ln:1190]

def change_tab():
Change the tab in the current TabWidget.

Function: change_tab_reverse() [at ln:1194]

def change_tab_reverse():
Change the tab in the current TabWidget backwards.

Function: change_tabs_visibility() [at ln:619]

def change_tabs_visibility():

No description.


Function: change_visibility() [at ln:179]

def change_visibility():
Show/Hide the Main Container area.

Function: check_for_unsaved_tabs() [at ln:1146]

def check_for_unsaved_tabs():

No description.


Function: close_deleted_file(idname) [at ln:939]

def close_deleted_file(idname):
Search for the Tab with id, and ask the user if should be closed.

Function: close_files_from_project(project) [at ln:195]

def close_files_from_project(project):
Close the files related to this project.

Function: close_python_doc() [at ln:1178]

def close_python_doc():

No description.


Function: close_split() [at ln:1239]

def close_split():

No description.


Function: close_tab() [at ln:1186]

def close_tab():
Close the current tab in the current TabWidget.

Function: copy_history() [at ln:213]

def copy_history():
Copy the selected text into the copy/paste history.

Function: count_file_code_lines() [at ln:366]

def count_file_code_lines():
Count the lines of code in the current file.

Function: deactivate_tabs_groups() [at ln:584]

def deactivate_tabs_groups():
Deactivate tab grouping based in the project they belong.

Function: dragEnterEvent(event) [at ln:550]

def dragEnterEvent(event):

No description.


Function: dropEvent(event) [at ln:556]

def dropEvent(event):

No description.


Function: editor_comment() [at ln:457]

def editor_comment():
Mark the current line or selection as a comment.

Function: editor_complete_declaration() [at ln:523]

def editor_complete_declaration():
Do the opposite action that Complete Declaration expect.

Function: editor_copy() [at ln:388]

def editor_copy():

No description.


Function: editor_cut() [at ln:383]

def editor_cut():

No description.


Function: editor_duplicate() [at ln:511]

def editor_duplicate():
Duplicate the current line or selection.

Function: editor_go_to_definition() [at ln:413]

def editor_go_to_definition():
Search the definition of the method or variable under the cursor.

If more than one method or variable is found with the same name,
shows a table with the results and let the user decide where to go.

Function: editor_go_to_line(line) [at ln:529]

def editor_go_to_line(line):
Jump to the specified line in the current editor.

Function: editor_highlight_word() [at ln:517]

def editor_highlight_word():
Highlight the occurrences of the current word in the editor.

Function: editor_indent_less() [at ln:433]

def editor_indent_less():
Indent 1 position to the left for the current line or selection.

Function: editor_indent_more() [at ln:439]

def editor_indent_more():
Indent 1 position to the right for the current line or selection.

Function: editor_insert_debugging_prints() [at ln:445]

def editor_insert_debugging_prints():
Insert a print statement in each selected line.

Function: editor_insert_horizontal_line() [at ln:469]

def editor_insert_horizontal_line():
Insert an horizontal lines of comment symbols.

Function: editor_insert_pdb() [at ln:451]

def editor_insert_pdb():
Insert a pdb.set_trace() statement in tjhe current line.

Function: editor_insert_title_comment() [at ln:475]

def editor_insert_title_comment():
Insert a Title surrounded by comment symbols.

Function: editor_jump_to_line(lineno=None) [at ln:1130]

def editor_jump_to_line(lineno=None):
Jump to line *lineno* if it is not None
otherwise ask to the user the line number to jump

Function: editor_lower() [at ln:403]

def editor_lower():

No description.


Function: editor_move_down() [at ln:499]

def editor_move_down():
Move the current line or selection one position down.

Function: editor_move_up() [at ln:493]

def editor_move_up():
Move the current line or selection one position up.

Function: editor_paste() [at ln:393]

def editor_paste():

No description.


Function: editor_redo() [at ln:422]

def editor_redo():
Execute the redo action in the current editor.

Function: editor_remove_line() [at ln:505]

def editor_remove_line():
Remove the current line or selection.

Function: editor_remove_trailing_spaces() [at ln:481]

def editor_remove_trailing_spaces():
Remove the trailing spaces in the current editor.

Function: editor_replace_tabs_with_spaces() [at ln:487]

def editor_replace_tabs_with_spaces():
Replace the Tabs with Spaces in the current editor.

Function: editor_title() [at ln:408]

def editor_title():

No description.


Function: editor_uncomment() [at ln:463]

def editor_uncomment():
Uncomment the current line or selection.

Function: editor_undo() [at ln:428]

def editor_undo():

No description.


Function: editor_upper() [at ln:398]

def editor_upper():

No description.


Function: get_current_editor() [at ln:789]

def get_current_editor():
Return the Actual Editor or None

Return an instance of Editor if the Current Tab contains
an Editor or None if it is not an instance of Editor

Function: get_current_widget() [at ln:786]

def get_current_widget():

No description.


Function: get_opened_documents() [at ln:1138]

def get_opened_documents():

No description.


Function: get_unsaved_files() [at ln:1149]

def get_unsaved_files():

No description.


Function: get_widget_for_id(filename) [at ln:923]

def get_widget_for_id(filename):

No description.


Function: group_tabs_together() [at ln:565]

def group_tabs_together():
Group files that belongs to the same project together.

Function: import_from_everywhere() [at ln:223]

def import_from_everywhere():
Add an item to the back stack and reset the forward stack.

Function: install() [at ln:174]

def install():

No description.


Function: is_open(filename) [at ln:892]

def is_open(filename):

No description.


Function: locate_function(function, filePath, isVariable) [at ln:186]

def locate_function(function, filePath, isVariable):
Move the cursor to the proper position in the navigate stack.

Function: move_tab_left() [at ln:905]

def move_tab_left():

No description.


Function: move_tab_right() [at ln:902]

def move_tab_right():

No description.


Function: move_to_open(filename) [at ln:895]

def move_to_open(filename):

No description.


Function: navigate_back() [at ln:1242]

def navigate_back():

No description.


Function: navigate_code_history(val, op) [at ln:264]

def navigate_code_history(val, op):
Navigate the code history.

Function: navigate_forward() [at ln:1245]

def navigate_forward():

No description.


Function: open_file(filename=str, cursorPosition=int, tabIndex=None, positionIsLineNumber=False, notStart=True) [at ln:831]

def open_file(filename=str, cursorPosition=int, tabIndex=None, positionIsLineNumber=False, notStart=True):

No description.


Function: open_files(files) [at ln:1141]

def open_files(files):

No description.


Function: open_image(fileName) [at ln:818]

def open_image(fileName):

No description.


Function: open_project(path) [at ln:1175]

def open_project(path):

No description.


Function: paste_history() [at ln:204]

def paste_history():
Paste the text from the copy/paste history.

Function: preview_in_browser() [at ln:238]

def preview_in_browser():
Load the current html file in the default browser.

Function: print_file() [at ln:1215]

def print_file():
Call the print of ui_tool

Call print of ui_tool depending on the focus of the application

Function: reload_file(editorWidget=None) [at ln:799]

def reload_file(editorWidget=None):

No description.


Function: reset_editor_flags() [at ln:1152]

def reset_editor_flags():

No description.


Function: reset_lint_warnings(value) [at ln:732]

def reset_lint_warnings(value):

No description.


Function: reset_pep8_warnings(value) [at ln:712]

def reset_pep8_warnings(value):

No description.


Function: save_all() [at ln:1074]

def save_all():

No description.


Function: save_file(editorWidget=None) [at ln:950]

def save_file(editorWidget=None):

No description.


Function: save_file_as() [at ln:989]

def save_file_as():

No description.


Function: save_project(projectFolder) [at ln:1054]

def save_project(projectFolder):

No description.


Function: setFocus() [at ln:560]

def setFocus():

No description.


Function: shortcut_index(index) [at ln:1212]

def shortcut_index(index):

No description.


Function: show_navigation_buttons() [at ln:1198]

def show_navigation_buttons():

No description.


Function: show_plugins_doc() [at ln:1126]

def show_plugins_doc():

No description.


Function: show_python_doc() [at ln:1114]

def show_python_doc():

No description.


Function: show_report_bugs() [at ln:1123]

def show_report_bugs():

No description.


Function: show_split(orientation) [at ln:625]

def show_split(orientation):

No description.


Function: show_start_page() [at ln:1103]

def show_start_page():

No description.


Function: split_assistance() [at ln:1235]

def split_assistance():

No description.


Function: split_tab(orientation) [at ln:601]

def split_tab(orientation):

No description.


Function: split_tabh() [at ln:1229]

def split_tabh():

No description.


Function: split_tabv() [at ln:1232]

def split_tabv():

No description.


Function: update_editor_margin_line() [at ln:1169]

def update_editor_margin_line():

No description.


Function: update_editor_project() [at ln:702]

def update_editor_project():

No description.


Function: zoom_in_editor() [at ln:535]

def zoom_in_editor():
Increase the font size in the current editor.

Function: zoom_out_editor() [at ln:541]

def zoom_out_editor():
Decrease the font size in the current editor.
Contents © 2013 NINJA-IDE - Powered by Nikola and Documentor