Did I find the right examples for you? yes no

All Samples(8)  |  Call(6)  |  Derive(0)  |  Import(2)

src/s/u/SublimeTextXdebug-HEAD/xdebug/view.py   SublimeTextXdebug(Download)
 
# Config module
from .config import get_value, get_window_value, set_window_value
 
# Util module
    if get_value(S.KEY_DISABLE_LAYOUT):
        S.RESTORE_LAYOUT = window.get_layout()
        set_window_value('restore_layout', S.RESTORE_LAYOUT)
        S.RESTORE_INDEX = H.new_dictionary()
        set_window_value('restore_index', S.RESTORE_INDEX)
            # Save current layout
            S.RESTORE_LAYOUT = window.get_layout()
            set_window_value('restore_layout', S.RESTORE_LAYOUT)
            # Remember view indexes
            S.RESTORE_INDEX = H.new_dictionary()
            for view in window.views():
                view_id = "%d" % view.id()
                group, index = window.get_view_index(view)
                S.RESTORE_INDEX[view_id] = { "group": group, "index": index }
            set_window_value('restore_index', S.RESTORE_INDEX)

src/s/u/SublimeTextXdebug-HEAD/xdebug/load.py   SublimeTextXdebug(Download)
from .util import load_breakpoint_data, load_watch_data
from .log import clear_output, debug, info
from .config import get_window_value, set_window_value, load_package_values, load_project_values
 
 
                sublime.error_message("The following package(s) could cause conflicts with '{package}':\n\n{other}\n\nPlease consider removing the package(s) above when experiencing any complications." \
                                        .format(package=S.PACKAGE_FOLDER, other='\n'.join(conflict)))
                set_window_value('hide_conflict', True)
        else:
            set_window_value('hide_conflict', False)