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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? sample.dsm

?? vc6.0完整版
?? DSM
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
				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

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产麻豆精品久久一二三| 国产综合一区二区| 久久久久久久久99精品| 色欧美片视频在线观看| 久久99久久精品| 国产一区二区网址| 一级女性全黄久久生活片免费| 亚洲精品在线一区二区| 欧美日韩精品综合在线| 99久久er热在这里只有精品15 | 一区二区成人在线| 欧美国产一区二区| 日韩无一区二区| 在线欧美日韩精品| 成人a区在线观看| 国产制服丝袜一区| 日本三级亚洲精品| 亚洲国产精品综合小说图片区| 国产精品国产精品国产专区不片| 精品国产一区久久| 欧美一区二区三区四区五区| 欧美系列亚洲系列| 一本久久综合亚洲鲁鲁五月天| 国产传媒久久文化传媒| 99在线精品观看| 福利一区福利二区| 国产精品99久久久久| 久久国产乱子精品免费女| 日日摸夜夜添夜夜添亚洲女人| 悠悠色在线精品| 亚洲美女电影在线| 亚洲乱码日产精品bd| 亚洲欧美偷拍三级| 亚洲欧美日韩中文播放| 亚洲色欲色欲www| 国产精品久久久久久一区二区三区| 国产三区在线成人av| 久久久久亚洲蜜桃| 国产欧美一区二区精品仙草咪| 久久久另类综合| 欧美高清在线精品一区| 国产精品久线在线观看| 国产精品高潮呻吟| 一区二区三区在线免费播放| 成人午夜免费电影| 99re视频精品| 日本韩国欧美一区| 欧美日韩精品一区二区| 91精品国产综合久久精品麻豆| 欧美一区二区三级| 久久蜜桃av一区精品变态类天堂 | 欧美日韩在线三级| 欧美日韩一区二区三区高清| 正在播放亚洲一区| 2023国产精品视频| 综合久久久久综合| 亚洲午夜在线视频| 日本三级韩国三级欧美三级| 国产一二精品视频| 99久久综合99久久综合网站| 中文字幕av免费专区久久| 1区2区3区国产精品| 亚洲午夜精品久久久久久久久| 日韩电影免费一区| 国产精品69毛片高清亚洲| 97久久人人超碰| 91精品福利在线一区二区三区 | www.一区二区| 在线视频一区二区三区| 日韩女优视频免费观看| 国产欧美日韩在线看| 一区二区三区不卡在线观看| 蜜桃视频在线观看一区二区| 成人小视频在线| 欧美日本在线播放| 久久久一区二区三区捆绑**| 亚洲日本丝袜连裤袜办公室| 奇米四色…亚洲| 成人福利视频网站| 亚洲精品视频在线观看免费| 奇米色一区二区| 一本大道久久a久久精二百 | 亚洲天堂2014| 美女网站色91| 一本到一区二区三区| 精品欧美久久久| 一区二区在线观看视频在线观看| 蜜臀久久99精品久久久久久9 | 成人蜜臀av电影| 91精品久久久久久久99蜜桃| 国产精品污污网站在线观看 | 精品一区二区久久久| 99精品国产视频| 精品少妇一区二区三区视频免付费 | 9191久久久久久久久久久| 九色|91porny| 一本大道久久a久久综合婷婷| 2023国产精品| 免费在线视频一区| 色欧美日韩亚洲| 欧美日韩高清一区二区不卡| 欧美亚洲综合另类| 国产精品久久777777| 男女男精品视频网| 欧美日韩在线三级| 亚洲啪啪综合av一区二区三区| 国产真实乱对白精彩久久| 91精品一区二区三区久久久久久| 自拍偷在线精品自拍偷无码专区| 激情五月激情综合网| 欧美一区二区视频在线观看2020| 亚洲欧美aⅴ...| 99久久伊人精品| 国产亚洲欧美中文| 国产一区在线不卡| 日韩三级免费观看| 午夜精品影院在线观看| 91久久香蕉国产日韩欧美9色| 国内久久婷婷综合| 欧美一区二区三区电影| 亚洲h在线观看| 欧亚一区二区三区| 一区二区三区在线看| 色综合久久综合网欧美综合网| 国产欧美va欧美不卡在线| 国产成人综合视频| 国产亚洲欧美在线| 国产乱码精品一区二区三区av | 亚洲国产一区视频| 一本高清dvd不卡在线观看 | 国产精品伊人色| 久久女同互慰一区二区三区| 国产在线精品一区二区不卡了| 欧美哺乳videos| 国产一区二区三区免费在线观看| 精品国产免费久久| 国内成人免费视频| 国产欧美一区二区精品久导航 | 国产三级一区二区三区| 国产在线视视频有精品| 久久久久久久久免费| 成人午夜在线视频| 亚洲视频一二三| 欧美亚洲综合在线| 日韩电影在线观看一区| 日韩精品一区二区三区蜜臀| 黄网站免费久久| 国产欧美日韩亚州综合| 97超碰欧美中文字幕| 一级女性全黄久久生活片免费| 欧美色视频在线| 麻豆精品一区二区综合av| 久久婷婷综合激情| av亚洲精华国产精华精| 一区二区三区四区不卡视频| 欧美高清你懂得| 国产在线精品国自产拍免费| 中文字幕永久在线不卡| 欧美日韩中文国产| 日韩一区二区在线观看视频播放| 卡一卡二国产精品| 亚洲国产岛国毛片在线| 欧美综合欧美视频| 老鸭窝一区二区久久精品| 国产亚洲精品福利| 91久久精品一区二区三区| 日本 国产 欧美色综合| 久久精品免费在线观看| 色94色欧美sute亚洲线路一久 | 一区二区三区波多野结衣在线观看| 欧美日韩精品一区二区在线播放| 久久国产三级精品| 亚洲欧洲国产日韩| 欧美肥妇bbw| eeuss鲁片一区二区三区| 香蕉久久夜色精品国产使用方法| 精品国产a毛片| 欧美在线观看视频一区二区| 九九**精品视频免费播放| 国产精品久久久久国产精品日日| 欧美日韩一区高清| 国产成人免费视频网站| 亚洲第一激情av| 久久国产精品无码网站| 中文字幕一区二区三区在线播放| 精品视频一区二区三区免费| 国产高清精品网站| 午夜欧美视频在线观看| 欧美国产成人在线| 欧美日韩第一区日日骚| av不卡一区二区三区| 老司机午夜精品99久久| 亚洲午夜久久久| 中文字幕一区二区5566日韩| 精品久久久久99| 欧美精品自拍偷拍动漫精品| 成人免费视频视频在线观看免费| 免费成人在线观看视频| 亚洲一区二区美女| 国产精品国产精品国产专区不蜜|