Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(12)  |  Call(6)  |  Derive(3)  |  Import(3)

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/site-packages/win32comext/axscript/client/debug.py   main(Download)
from framework import trace
from win32com.axdebug import axdebug, gateways, contexts, stackframe, documents, adb
from win32com.axdebug.codecontainer import SourceCodeContainer
from win32com.axdebug.util import _wrap, _wrap_remove
import win32com.client.connect
class DebugCodeBlockContainer(SourceCodeContainer):
	def __init__(self, codeBlock, site):
		self.codeBlock = codeBlock
		SourceCodeContainer.__init__(self, codeBlock.codeText, codeBlock.GetFileName(), codeBlock.sourceContextCookie, codeBlock.startLineNumber, site)
 
	def GetScriptTextAttributes(self, code, delim, flags):
		container = SourceCodeContainer(code, "<Temp Code Block>")
		return container.GetSyntaxColorAttributes()
	def GetScriptletTextAttributes(self, code, delim, flags):
		trace ("GetScriptletTextAttributes", code, delim, flags)
		container = SourceCodeContainer(code, "<Temp Code Block>")

src/s/u/SublimeSpeech-HEAD/lib/pywin64bit/win32comext/axscript/client/debug.py   SublimeSpeech(Download)
from framework import trace
from win32com.axdebug import axdebug, gateways, contexts, stackframe, documents, adb
from win32com.axdebug.codecontainer import SourceCodeContainer
from win32com.axdebug.util import _wrap, _wrap_remove
import win32com.client.connect
class DebugCodeBlockContainer(SourceCodeContainer):
	def __init__(self, codeBlock, site):
		self.codeBlock = codeBlock
		SourceCodeContainer.__init__(self, codeBlock.codeText, codeBlock.GetFileName(), codeBlock.sourceContextCookie, codeBlock.startLineNumber, site)
 
	def GetScriptTextAttributes(self, code, delim, flags):
		container = SourceCodeContainer(code, "<Temp Code Block>")
		return container.GetSyntaxColorAttributes()
	def GetScriptletTextAttributes(self, code, delim, flags):
		trace ("GetScriptletTextAttributes", code, delim, flags)
		container = SourceCodeContainer(code, "<Temp Code Block>")

src/s/u/SublimeSpeech-HEAD/lib/pywin32bit/win32comext/axscript/client/debug.py   SublimeSpeech(Download)
from framework import trace
from win32com.axdebug import axdebug, gateways, contexts, stackframe, documents, adb
from win32com.axdebug.codecontainer import SourceCodeContainer
from win32com.axdebug.util import _wrap, _wrap_remove
import win32com.client.connect
class DebugCodeBlockContainer(SourceCodeContainer):
	def __init__(self, codeBlock, site):
		self.codeBlock = codeBlock
		SourceCodeContainer.__init__(self, codeBlock.codeText, codeBlock.GetFileName(), codeBlock.sourceContextCookie, codeBlock.startLineNumber, site)
 
	def GetScriptTextAttributes(self, code, delim, flags):
		container = SourceCodeContainer(code, "<Temp Code Block>")
		return container.GetSyntaxColorAttributes()
	def GetScriptletTextAttributes(self, code, delim, flags):
		trace ("GetScriptletTextAttributes", code, delim, flags)
		container = SourceCodeContainer(code, "<Temp Code Block>")