亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? sample.dsm

?? c語言編程軟件vc6.0中文綠色版_vc6.0官方下載
?? DSM
?? 第 1 頁 / 共 2 頁
字號:
				End If
			End If 

		ElseIf TypeOfFile = 6 Then                      'VBS code
			BeginComment = "'"
			EndComment = "'"
			EveryLine = "'"
			Do
				ActiveDocument.Selection = CurrText
				If InStr(CurrText, "'") = 1 Or _
				   InStr(LCase(CurrText), "Rem") = 1 Then
					ActiveDocument.Selection.SelectLine
					CurrText = LTrim(ActiveDocument.Selection)
					ContSearch = False
				Else
					Exit Do
				End If
			Loop
			If ContSearch = False Then
				ActiveDocument.Selection.LineUp
			End If

		ElseIf TypeOfFile = 7 Then                      'DEF code
			BeginComment = ";"
			EndComment = ""
			EveryLine = ";"
			Do
				ActiveDocument.Selection = CurrText
				If InStr(CurrText, ";") = 1 Then
					ActiveDocument.Selection.SelectLine
					CurrText = LTrim(ActiveDocument.Selection)
					ContSearch = False
				Else
					Exit Do
				End If
			Loop
			If ContSearch = False Then
				ActiveDocument.Selection.LineUp
			End If      
		End If

		If TypeOfFile = 0 Then                          'Unknown type of code.
			MsgBox("Unable to add revision marks. Unrecgonized file type")
		ElseIf (CurrentCount < BreakAfter) Then
			'The BeginComment, EveryLine, and EndComment were set as
			' avoid duplicating this section...
			' just insert the generalized block, with the comment markers.
			ActiveDocument.Selection.StartOfLine(True)
			'This is added with one assignment statement, which enables the user
			' to hit undo once, and remove the entire change.
			ActiveDocument.Selection = vbLf + _
			BeginComment + "***********************************" + vbLf + _
			EveryLine    + " REVISION LOG ENTRY" + vbLf + _
			EveryLine    + " Revision By: " + DefaultUserName + vbLf + _
			EveryLine    + " Revised on " + CStr(Now) + vbLf + _
			EveryLine    + " Comments: ..." + vbLf + _
			EveryLine    + "***********************************" + _
			EndComment + vbLf + vbLf
		End If
	End If
End Sub


Sub CloseExceptActive () 
'DESCRIPTION: Closes all editor windows except the current one.

	'Windows.Item(1) is always the currently active window. So to close all
	' the windows except the active one, keep looping until there is no 
	' longer a Windows.Item(2).
	do while Windows.Count > 1
		Windows.Item(2).Close(dsSaveChangesPrompt)
	Loop
End Sub


Sub CommentOut ()
'DESCRIPTION: Comments out a selected block of text.
	Dim win
	set win = ActiveWindow
	if win.type <> "Text" Then
	  MsgBox "This macro can only be run when a text editor window is active."
	else
		TypeOfFile = FileType(ActiveDocument)  
		If TypeOfFile > 0 And TypeOfFile < 5 Then    'C & Java use the same 
														'style of comments.
			ActiveDocument.Selection = "/*" + ActiveDocument.Selection + "*/"
		ElseIf TypeOfFile = 5 Then
			ActiveDocument.Selection = "<!-- " + ActiveDocument.Selection + " -->"
		ElseIf TypeOfFile = 6 Or TypeOfFile = 7 Then
			'There is no group comment like there is in the other file types, 
			'so we need to iterate through each line, and prepend a ' to the line.
			'Also, because VBS/DEF does not have a 'end the comment at this 
			'particular column' delimiter, entire lines of code must be 
			'commented out, not sections.
			If TypeOfFile = 6 Then 
				CommentType = " ' "
			Else
				CommentType = " ; "
			End If
     
			StartLine = ActiveDocument.Selection.TopLine
			EndLine = ActiveDocument.Selection.BottomLine
			If EndLine < StartLine Then
				Temp = StartLine
				StartLine = EndLine
				EndLine = Temp
			End If

			If EndLine = StartLine Then
				ActiveDocument.Selection = CommentType + ActiveDocument.Selection

			Else 
				For i = StartLine To EndLine
					ActiveDocument.Selection.GoToLine i
					ActiveDocument.Selection.SelectLine
					ActiveDocument.Selection = CommentType + _
						ActiveDocument.Selection
				Next
			End If
		Else
			MsgBox("Unable to comment out the highlighted text" + vbLf + _
					"because the file type was unrecognized." + vbLf + _
					"If the file has not yet been saved, " + vbLf + _
					"please save it and try again.")
		End If
	End If
End Sub


Sub MultiplePaste () 
'DESCRIPTION: Performs a paste of what is on the clipboard a multiple number of times.

	NumPastes = InputBox("Number of pastes to make", "Multiple Paste Macro",_
						 "1")
	For i = 1 To CInt(NumPastes)
		ActiveDocument.Selection.Paste
		'Because the selection remains active, the following two lines
		'clear the selection, while keeping the cursor in the same place.
		ActiveDocument.Selection.LineUp
		ActiveDocument.Selection.LineDown
		ActiveDocument.Selection = vbLf    
	Next
End Sub


Sub PrintAllOpenDocuments ()
'DESCRIPTION: Prints all open, active documents.

	'Small, quick macro, but it can be usefull.
	for each doc in Application.Documents
		Doc.PrintOut
	next
End Sub


Sub PoundDefOut (ifndef)
	If ifndef = true Then
		PoundType = "#ifndef "
	Else
		PoundType = "#ifdef "
	End If
	
	If FileType(ActiveDocument) <> 1 Then
		MsgBox ("This macro only works on" + vbLf + _
				".c, .cpp, .cxx, .h, .hpp, or .hxx files")
	Else
		ControlVarName = InputBox("What should the control variable be?" + _
			vbLf + vbLf + "Example: #ifdef ControlVariable", PoundType + _
			" out a section of code")
		OK = True
		If ValidId (ControlVarName) = False Then
			Ok = False
			MsgBox("""" + ControlVarName + """" + _ 
				" is not a valid C identifier." + _
				vbLf + "please re-run the macro with a valid C identifier")
		End If
		
		
		Sel = ActiveDocument.Selection
		For i = 1 To Len(Sel) - 1
			If Mid(Sel, i, 1) = vbLf Then
				Sel = Left(Sel,i) + vbTab + Right(Sel, Len(Sel)-i)
			End If
		Next
		If ControlVarName <> "" And Ok = True Then
			Sel = vbLf + PoundType + ControlVarName + vbLf + vbTab + Sel + _
				vbLf+ "#endif //" + ControlVarName
			If Right(Sel,1) <> vbLf Then
				Sel = Sel + vbLf
			End If
			ActiveDocument.Selection = Sel
		End If
	End If
End Sub

'The next two macros are exactly the same, except one uses ifndef and the
'  other ifdef. We recycle the same code and just use a different 
'  preprocessor directive.
Sub ifdefOut ()
'DESCRIPTION: #ifdef / #endif out a section of code.

	PoundDefOut (False)
End Sub

Sub ifndefOut ()
'DESCRIPTION: #ifndef / #endif out a section of code.

	PoundDefOut (True)
End Sub

'Allows the user to make sure the current header file is included only once. 
' There are two ways to do this, using the #pragma once directive or 
' surrounding the entire file in a #ifndef/#endif structure. The first way
' is much cleaner, but it is VC++ specific, and therefore not portable. If 
' you plan on compiling your code with other compilers, use the 
' #ifndef/#endif method, otherwise, the #pragma once option is preferrable.
Sub OneTimeInclude ()
'DESCRIPTION: Adds code to the current header file so it is included only once per c/cpp file.
	
	ext = ActiveDocument.Name
	If ext = "" Then
		If MsgBox("The file you are working with does not have a file extension." + _
				vbLF + "Are you sure this is a C/C++ header file?", 4) = vbCancel Then
			Exit Sub
		End If
		ext = "nofilenamegiven.h"
	End If
	DocName = UCase(ext)
	pos = Instr(ext, ".")
	Do While pos <> 1
		ext = Mid(ext, pos, (Len(ext) - pos + 1))
		pos = Instr(ext, ".")
	Loop
	ext = LCase(ext)
	pos = Instr(DocName, ".")
	If ext = ".h" Or ext = ".hpp" Then
		'Warn user that this will not work with a compiler other than VC++.
		If MsgBox("This macro uses the Visual C++ dependant #pragma once" + _
				vbLf + "Is the source to be portable across compilers?", 4) _
				= 6 Then
			ActiveDocument.Selection.StartOfDocument (False)
			Examp = "__" + Left(DocName, pos - 1) + "_" + _
				UCase(Right(ext, len(ext) - 1)) + "__"
			ControlVarName = InputBox("What should the control variable be?" _
				+ vbLf + vbLf + "Example: #ifdef " + _
				Examp, "One time header include protection", Examp)
			If ValidId (ControlVarName) = True Then
				ActiveDocument.Selection = "#ifndef " + ControlVarName + _
					vbLf + "#define " + ControlVarName + vbLf
				ActiveDocument.Selection.EndOfDocument(False)
				ActiveDocument.Selection = vbLf + "#endif //" + _ 
					ControlVarName
			Else
				MsgBox(ControlVarName + " is not a valid c identifier." + _
				vbLf + "please re-run the macro with a valid C identifier")
			End If
		Else
			ActiveDocument.Selection.StartOfDocument(False)
			ActiveDocument.Selection = "#pragma once" + vbLf + vbLf
		End If
	Else
		MsgBox("This macro can only be run on .h or .hpp files")
	End If
End Sub



'Auto completion macro
Dim previousSelection
Dim completionWords
Dim completionWordsIndex

Sub AddToCompletionWords (word)
	' If the word is already there, abort
	if InStr(1, completionWords, " " & word & " ", 1) <> 0 Then
		Exit Sub
	End If

	completionWords = completionWords & word & " "
End Sub

Function ExtractNextCompletionWord()
	ExtractNextCompletionWord = ""

	' If no words yet, go away
	if Len(completionWords) <= 1 Then
		Exit Function
	End If
	
	' Wrap to beginning if necessary
	if completionWordsIndex > Len(completionWords) Then
		completionWordsIndex = 2
	End If

	' Find next <space>
	Dim newIndex
	newIndex = InStr (completionWordsIndex, completionWords, " ", 0)
	if newIndex = 0 Then
		Exit Function
	End If

	ExtractNextCompletionWord = Mid(completionWords, completionWordsIndex, _ 
		newIndex-completionWordsIndex)
	completionWordsIndex = newIndex+1		'Skip over <space>
End Function

Sub FillCompletionWords (word)
	' Find all words in this file which match word, and
	'  add them, space separated, into completionWords
	previousSelection = word
	completionWords = " "
	completionWordsIndex = 2
	dim sel
	set sel = ActiveDocument.Selection

	Dim searchString
	searchString = "\{^\![^a-zA-Z0-9]\}" & word
	Dim firstTime
	firstTime = True
	Dim firstLine, firstCol
	Do while sel.FindText (searchString, dsMatchBackward + dsMatchRegExp)
		if firstTime Then
			firstLine = sel.TopLine
			firstCol = sel.CurrentColumn
			firstTime = False
		ElseIf firstLine = sel.TopLine And firstCol = sel.CurrentColumn Then
			Exit Do		' Jump out of loop before repeat
		End If
		sel.WordRight
		sel.WordLeft dsExtend
		AddToCompletionWords Trim(sel.text)
		sel.Cancel
	Loop
End Sub

Function SuggestNextCompletionWord()
	SuggestNextCompletionWord = True
	Dim word
	word = ExtractNextCompletionWord()
	if word <> "" then
		ActiveDocument.Selection = word
		previousSelection = word
	end if
End Function
 
Sub AutoCompleteFromFile()
'DESCRIPTION: Looks through the active file, searching for the rest of the word that you began to type.
	Dim doc
	set doc = ActiveDocument

	' Be sure active document is a text document
	if doc Is Nothing Then
		Exit Sub
	elseif doc.Type <> "Text" Then
		Exit Sub
	End If

	' Get word to be completed
	Dim sel
	set sel = doc.Selection
	sel.Cancel
	dim origLine, origCol
	origLine = sel.TopLine
	origCol = sel.CurrentColumn
	sel.WordLeft dsExtend

	'If the cursor is sitting just to the right of a space, an infinite loop
	'results. This bit of code protects from that:
	if Right(sel, 1) = " " then
		sel.CharRight
		Exit Sub
	end If

	if sel <> previousSelection Or completionWords = "" Then
		FillCompletionWords sel
		sel.MoveTo origLine, origCol
		sel.WordLeft dsExtend
	End If

	SuggestNextCompletionWord

End Sub

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲午夜免费电影| 久久青草欧美一区二区三区| 国产高清久久久| 视频一区中文字幕| 成人欧美一区二区三区小说| 久久午夜免费电影| 91精品黄色片免费大全| 在线一区二区三区| 99国产精品久| 99久久国产免费看| www..com久久爱| 成人黄色av网站在线| 国产一区二区毛片| 午夜视频一区二区| 亚洲国产精品视频| 一区二区三区中文字幕电影| 日韩一区在线播放| 综合精品久久久| 亚洲高清免费在线| 亚洲欧美日本韩国| 国产精品三级久久久久三级| 国产精品久线在线观看| 国产精品久久久久久久蜜臀 | 一本久道中文字幕精品亚洲嫩| 欧美日韩一区成人| 欧美色图在线观看| 欧美日韩午夜精品| 日韩手机在线导航| 久久综合成人精品亚洲另类欧美 | 欧美日本在线看| 亚洲在线一区二区三区| 综合久久国产九一剧情麻豆| 午夜精品一区二区三区免费视频 | 精品美女被调教视频大全网站| 欧美日韩国产电影| 欧美一级黄色大片| 欧美浪妇xxxx高跟鞋交| 欧美亚洲高清一区| 亚洲美女免费视频| 成人免费电影视频| 久久综合九色欧美综合狠狠 | 亚洲激情一二三区| 国产视频911| 国产在线一区二区| 国产在线国偷精品产拍免费yy| 中文一区一区三区高中清不卡| 久久久不卡网国产精品一区| 蜜臀精品久久久久久蜜臀| 亚洲视频一区在线观看| 国产一区二区电影| 国产成人啪免费观看软件 | 亚洲精品免费在线播放| 国产免费观看久久| 亚洲午夜一区二区三区| 极品美女销魂一区二区三区免费| 黄色资源网久久资源365| 国产欧美日韩三区| av电影在线观看一区| 国产亚洲精品中文字幕| 丁香天五香天堂综合| 国产精品久久福利| 色婷婷国产精品综合在线观看| 亚洲欧洲精品一区二区精品久久久| 亚洲成av人片在线| www.99精品| 视频一区在线播放| 国产欧美一区二区精品婷婷| 国产在线播放一区三区四| 欧美一级午夜免费电影| 国产成人aaaa| 精品一区二区三区不卡 | 91福利在线免费观看| 中文字幕欧美一区| 欧洲国内综合视频| 国产成人8x视频一区二区| 五月婷婷综合在线| 亚洲特黄一级片| 亚洲视频一区二区免费在线观看| 欧美成人三级在线| 欧美日韩综合一区| 日韩一区二区中文字幕| 成人精品视频一区二区三区| 国产精品一区二区男女羞羞无遮挡| 亚洲乱码国产乱码精品精的特点| 色琪琪一区二区三区亚洲区| 国产精品超碰97尤物18| 一区二区三区资源| 日韩美女天天操| 亚洲成人综合视频| 亚洲国产人成综合网站| 欧美调教femdomvk| 日韩av不卡在线观看| 日韩一级免费观看| 国产伦精品一区二区三区视频青涩| 久久精品水蜜桃av综合天堂| 国产99久久久久| 国产色一区二区| 91麻豆免费看| 日产精品久久久久久久性色| 亚洲第一av色| 亚洲国产精品一区二区www| 日本最新不卡在线| 成人福利视频在线| 精品粉嫩aⅴ一区二区三区四区 | 中文字幕一区二区三| 久久久久亚洲蜜桃| 国产精品久久夜| 青青草97国产精品免费观看无弹窗版| 日韩成人伦理电影在线观看| 国产一区二区中文字幕| 欧美在线免费播放| 日韩午夜激情电影| 亚洲成人一区在线| 91丨porny丨在线| 国产精品久久久久影院| 亚洲bdsm女犯bdsm网站| 99re这里都是精品| 国产精品国产三级国产三级人妇 | 国产欧美精品在线观看| 国产精品乱码妇女bbbb| 91丨九色丨黑人外教| 精品剧情在线观看| 精品入口麻豆88视频| 午夜精品久久久久久久久| 在线亚洲人成电影网站色www| 一区二区在线免费观看| 亚洲午夜免费电影| 一区二区三区日韩欧美| 石原莉奈一区二区三区在线观看| 国产色婷婷亚洲99精品小说| 欧美精品乱人伦久久久久久| 91小视频在线| 高清不卡在线观看| 蜜桃精品视频在线| 五月婷婷色综合| 亚洲在线中文字幕| 国产精品第五页| 久久久影视传媒| 欧美网站一区二区| 美女诱惑一区二区| 亚洲同性同志一二三专区| 欧美伊人久久久久久久久影院| 久久精品久久精品| 在线观看视频91| 天天影视网天天综合色在线播放| 9191久久久久久久久久久| 国产一区二区日韩精品| 青青青伊人色综合久久| 自拍偷拍欧美激情| 国产一区二区在线观看视频| 风间由美性色一区二区三区| 91在线视频18| 欧美日韩国产影片| 中文字幕在线观看不卡| 久久99精品久久久| 欧美日韩国产综合草草| 亚洲男人的天堂网| 成人午夜激情片| 欧美激情自拍偷拍| 国产一区二区伦理片| 精品免费国产一区二区三区四区| 欧美一级黄色片| 欧美一区二区福利视频| 欧美午夜视频网站| 欧美亚洲一区二区在线| 成人激情黄色小说| 国产在线乱码一区二区三区| 不卡电影一区二区三区| 波多野结衣亚洲| 欧美一区二区三区性视频| 欧美日韩国产美| 4438x亚洲最大成人网| 日韩一级黄色片| 久久精品人人做| 国产精品国产三级国产aⅴ原创| 自拍偷拍国产精品| 亚洲成人自拍偷拍| 国产乱子伦一区二区三区国色天香 | 欧美性猛交xxxx乱大交退制版| 欧美亚洲自拍偷拍| 精品日韩成人av| 国产精品第五页| 视频一区欧美精品| 国产黄色91视频| 欧美色网站导航| 国产午夜精品在线观看| 亚洲蜜臀av乱码久久精品| 日韩激情一二三区| 成人sese在线| 欧美日韩国产片| 日本一区二区三区视频视频| 樱花草国产18久久久久| 国产麻豆视频精品| 欧美亚洲国产一区在线观看网站| 日韩一区二区在线观看| 国产精品成人在线观看| 免费在线观看成人| 一本久久综合亚洲鲁鲁五月天| 91精品在线一区二区| 亚洲三级理论片|