" Column : " +(textedit1.textcursor().columnnumber()+1) +
" 行 " +(textedit1.textcursor().columnnumber()+1) +
" Description :" + nl +
" 解説 :" + nl +
" Function Name :" + nl +
" 関数名 :" + nl +
" Output :" + nl +
" 返値 :" + nl +
" Parameters :" + nl +
" 引数 :" + nl +
" Total Lines : " + textedit1.document().linecount())
" 桁 - 合計行 : " + textedit1.document().linecount())
"Ring Notepad (Ring Version : " + Version() + ")" + nl +
"Ring ノートパッド 日本語版 (Ring Version : " + Version() + ")" + nl +
"This application developed using the Ring programming language" + nl +
"このアプリケーションはプログラミング言語 Ring で開発しました" + nl +
"This application uses the Qt GUI Library through RingQt")
"このアプリケーションは RingQt (Qt GUI 拡張機能) ライブラリを使用しています")
"changeringkeyword","changeringoperator","class",
"changeringkeyword","changeringoperator","class",
"def","do","done","else","elseif","end","exit","for","from",
"def","do","done","else","elseif","end","exit","for","from",
"func","get","give","if","import","in","load","loadsyntax",
"func","get","give","if","import","in","load","loadsyntax",
"loop","new","next","not","off","ok","on","or","other",
"loop","new","next","not","off","ok","on","or","other",
"package","private","put","return","see","step","switch",
"package","private","put","return","see","step","switch",
"to","try","while"]
"to","try","while"]
# Add Ring Classes
# Ring クラスの追加
# Add Ring Functions
# Ring 関数の追加
# Add Ring Keywords
# Ring キーワードの追加
# Add Ring Libraries
# Ring ライブラリの追加
# Add Ring Methods
# Ring メソッドの追加
# Add words in the current file
# 現在のファイルにある語句を追加
# Ask to save before switching to another file
# ベルファイルへ切り換える前にファイルの保存をユーザに問い合わせる
# Author : Gal Zsolt
# 作者 : Gal Zsolt
# Author : Mahmoud Fayed <msfclipper@yahoo.com>
# 原作者 : Mahmoud Fayed <msfclipper@yahoo.com>
# Author : Marino Esteban
# 作者 : Marino Esteban
# Check if the file is changed
# ファイルの変更を確認
# Create a function to add Ring List to qStringList
# qStringList へ Ring のリストを追加する関数を作成します
# Create the Ring Notepad Object
# Ring ノートパッドのオブジェクトを作成
# Default Mode
# デフォルトのモード
# Default Style
# デフォルトのスタイル
# Define Colors
# カラー定義
# Functions list & Classes List
# 関数とクラスのリスト
# Hash Table contains the File Name and the Line Number
# ファイル名と行番号でハッシュテーブルを構成します
# Import Classes
# クラスのインポート
# Load Ring Notepad Files
# Ring ノートパッドのファイルをロード
# Load Standard Libraries
# 標準ライブラリのロード
# Load the Find in files application
# ファイルの検索アプリケーションのロード
# Load the Form Designer
# フォームデザイナーのロード
# Load the Web Server - ServerPrepare Class
# ウェブサーバーのロード - ServerPrepare クラス
# Main Window
# メインウィンドウ
# Open Form Designer File
# フォームデザイナーを開く
# Save the List Size
# リストサイズの保存
# Save the old file
# 旧ファイルの保存
# Search and Replace
# 検索と置換
# Settings
# 設定
# The Ring Notepad Application (RNote)
# Ring ノートパットアプリケーション (RNote)
# Used to remember the current line when we switch between many files
# 現在の行番号を記録して複数のファイルを切り換えるときに使います
機械翻訳そのまんまだね...。
・Gets nLine ~
~nLine を得ます。
・before using textedit1.settext() to get the value
textedit1.settext() で値を取得する前に~
・before aFilesLines update
aFilesLines 以前の更新で
# We get nLine before using textedit1.settext() to get the value before aFilesLines update
# aFilesLines 以前の更新で textedit1.settext() で値を取得する前に nLine を得ます。
# Web Applications
# ウェブ・アプリケーション
'C:/ring/applications'
'C:/ring/applications'
'Consolas,16,-1,5,50,0,0,0,0,0'
'Consolas,16,-1,5,50,0,0,0,0,0'
'file:///C:/ring/bin/../docs/build/html/index.html'
'file:///C:/ring/bin/../docs/build/html/index.html'
(1) Started as a simple example then switched to be something used by Ring developers.
① シンプルな用例として開発が始まりましたが、その後 Ring 開発者が開発で使えるようにするために方針を変更しました。
(2) Simple code editor that contains the minimum set of features required for writing your code.
② コードの記述で必要最低限の機能があるシンプルなコードエディタです。
(Ctrl+D)")
実行後に待機! (Ctrl+D)")
1
1
========================
=============================
AddItems(aCFunctionsList,oAutoCompleteList)
AddItems(aCFunctionsList,oAutoCompleteList)
AddItems(aCMethodsList,oAutoCompleteList)
AddItems(aCMethodsList,oAutoCompleteList)
AddItems(aKeywords,oAutoCompleteList)
AddItems(aKeywords,oAutoCompleteList)
AddTab(new qWidget(),"noname")
AddTab(new qWidget(),"無題")
AutoComplete()
AutoComplete()
CheckSaveBeforeChange()
CheckSaveBeforeChange()
CheckSaveBeforeChange() # To ask to saving a file
CheckSaveBeforeChange() # ファイルの保存をユーザに問い合わせる
Class RNoteRun
Class RNoteRun
Developed using Ring and RingQt
Ring と RingQt で開発
DisplayClassesList()
DisplayClassesList()
DisplayFunctionsList()
DisplayFunctionsList()
Done!")
完了!")
Filter!")
篩い分けています!")
FindInFiles().setFolder(cStartupFolder)
FindInFiles().setFolder(cStartupFolder)
FindInFiles().setParentObject(self)
FindInFiles().setParentObject(self)
Get File Words!")
ファイル内の語句を取得しています!")
GotoLine(nRow)
GotoLine(nRow)
MsgBox("About",
MsgBox("Ring ノートパッドについて",
MsgBox("GUI Library",
MsgBox("GUI ライブラリ",
MsgBox("Programming Language",
MsgBox("プログラミング言語",
Open_WindowNoShow(:RNoteController)
Open_WindowNoShow(:RNoteController)
Please Wait!")
しばらくお待ちください!")
Remove Duplicates!")
重複物の除去をしています!")
Ring Notepad Application
Ring ノートパットアプリケーション
SaveSettings()
SaveSettings()
SetActiveLineColor()
SetActiveLineColor()
SetColors()
SetColors()
SetFont()
SetFont()
ここの関数名は setNewFont() ではないのか...。といったようにOmegaT はコードリーディング、レビュー、そしてリファクタリングにも使えます。
SetFont() # set the new font
SetFont() # 新しいフォントの設定
SetText("Cannot find : " + cValue)
SetText("見つかりません : " + cValue)
SetText("No Match")
SetText("一致するものがありません")
SetText("No Selection")
SetText("選択されていません")
SetWindowTitle("Replace All")
SetWindowTitle("すべて置換")
SetWindowTitle("Replace")
SetWindowTitle("置換")
SetWindowTitle("Search")
SetWindowTitle("検索")
Show()
Show()
Sort!")
並べ替えています!")
StatusMessage(" Line : "+nLine+
StatusMessage(" "+nLine+
StatusMessage("Copy!")
StatusMessage("コピー!")
StatusMessage("Creating Classes list ...
StatusMessage("クラスのリストを作成しています ...
StatusMessage("Creating classes list ...
StatusMessage("クラスのリストを作成しています ...
StatusMessage("Creating functions list ...
StatusMessage("関数のリストを作成しています ...
StatusMessage("Cut!")
StatusMessage("切り取り!")
StatusMessage("Done!")
StatusMessage("完了!")
StatusMessage("File : " + cActiveFileName + " saved!")
StatusMessage("ファイル : " + cActiveFileName + " 保存完了!")
StatusMessage("Open the form file...")
StatusMessage("ファイルから開く...")
StatusMessage("Paste!")
StatusMessage("貼り付け!")
StatusMessage("Prepare Auto-Complete ...
StatusMessage("自動補完の準備をしています ...
StatusMessage("Printing to File : RingDoc.pdf")
StatusMessage("ファイルを印刷しています : RingDoc.pdf")
StatusMessage("Ready!")
StatusMessage("準備完了!")
StatusMessage("Ready...")
StatusMessage("準備完了...")
StatusMessage("Undo!")
StatusMessage("元に戻す!")
["Local Help", "file:///"+substr(exefolder(),"\","/") + "../docs/build/html/index.html"],
["ローカルヘルプ", "file:///"+substr(exefolder(),"\","/") + "../docs/build/html/index.html"],
["Localhost","http://localhost"],
["ローカルホスト","http://localhost"],
["Ring Group (Google Groups)","https://groups.google.com/forum/#!forum/ring-lang"],
["Ring グループ (Google グループ)","https://groups.google.com/forum/#!forum/ring-lang"],
["Ring Resources","http://ring-lang.sourceforge.net/resources.html"],
["Ring 情報源 (公式)","http://ring-lang.sourceforge.net/resources.html"],
["Ring Samples (Rosetta Code)","https://rosettacode.org/wiki/Category:Ring"],
["Ring サンプル (Rosetta Code)","https://rosettacode.org/wiki/Category:Ring"],
["Ring Source Code (GitHub)","https://github.com/ring-lang/ring"],
["Ring ソースコード (GitHub)","https://github.com/ring-lang/ring"],
["Ring Team","http://ring-lang.sourceforge.net/team.html"]
["Ring チーム (公式)","http://ring-lang.sourceforge.net/team.html"]
["Ring Website","http://ring-lang.sf.net"],
["Ring ウェブサイト (公式)","http://ring-lang.sf.net/"],
["[Comment] Author Name", func {
["[Comment] 制作者名", func {
["[Comment] Function Description", func {
["[Comment] 関数の概要", func {
["[Comment] Insert Date & Time" , func {
["[コメント] 日付と時刻の挿入" , func {
["[comment] Separator (====)", func {
["[コメント] 分離記号 (====)", func {
[11,11,11]
[11,11,11]
[255,255,255]
[255,255,255]
aCFunctionsList = cfunctions()
aCFunctionsList = cfunctions()
aCMethodsList = aCFunctionsList
aCMethodsList = aCFunctionsList
aCMethodsList[x] = substr(aCMethodsList[x],nPos+1)
aCMethodsList[x] = substr(aCMethodsList[x],nPos+1)
aClassesList = classes()
aClassesList = classes()
aFilesLines[cActiveFileName] = nLine
aFilesLines[cActiveFileName] = nLine
aFont = getfont()
aFont = getfont()
aKeywords = ["again","and","but","bye","call","case","catch",
aKeywords = ["again","and","but","bye","call","case","catch",
adddockwidget(Qt_BottomDockWidgetArea,this.oDockOutputWindow,1)
adddockwidget(Qt_BottomDockWidgetArea,this.oDockOutputWindow,1)
adddockwidget(Qt_LeftDockWidgetArea,this.oDockProjectFiles,1)
adddockwidget(Qt_LeftDockWidgetArea,this.oDockProjectFiles,1)
adddockwidget(Qt_RightDockWidgetArea,this.oDockClassesList,1)
adddockwidget(Qt_RightDockWidgetArea,this.oDockClassesList,1)
adddockwidget(Qt_RightDockWidgetArea,this.oDockFormDesigner,1)
adddockwidget(Qt_RightDockWidgetArea,this.oDockFormDesigner,1)
adddockwidget(Qt_RightDockWidgetArea,this.oDockFunctionsList,1)
adddockwidget(Qt_RightDockWidgetArea,this.oDockFunctionsList,1)
adddockwidget(Qt_RightDockWidgetArea,this.oDockSourceCode,2)
adddockwidget(Qt_RightDockWidgetArea,this.oDockSourceCode,2)
adddockwidget(Qt_RightDockWidgetArea,this.oDockWebBrowser,1)
adddockwidget(Qt_RightDockWidgetArea,this.oDockWebBrowser,1)
b = oColor.blue()
b = oColor.blue()
cActiveFileName = ""
cActiveFileName = ""
cActiveFileName = cFile
cActiveFileName = cFile
cCode = RunBatchFile(cFileName)
cCode = RunBatchFile(cFileName)
cCurrentDir = CurrentDir() + "/" # The Ring Notepad Folder
cCurrentDir = CurrentDir() + "/" # Ring ノートパッドのフォルダ
cDir = CurrentDir()
cDir = CurrentDir()
cFileName = FileNameEncoding(cActiveFileName)
cFileName = FileNameEncoding(cActiveFileName)
cFont = aFont[1]
cFont = aFont[1]
cFunction += "()"
cFunction += "()"
cLink = aBrowserLinks[x][2]
cLink = aBrowserLinks[x][2]
cMethod = aCMethodsList[x]
cMethod = aCMethodsList[x]
cMsg = "Nothing to replace!"
cMsg = "置換対象なし!"
cMsg = "Operation Done"
cMsg = "処理完了"
cMsg = cMsg + " - Replaced : " + cnt
cMsg = cMsg + " - 置換済み : " + cnt
cName = getopenfilename(this.win1,"open file",this.cStartupFolder,"source files(*.ring)")
cName = getopenfilename(this.win1,"ファイルを開く",this.cStartupFolder,"Ring ソースファイル (*.ring)")
cName = getsavefilename(this.win1,"New file",this.cStartupFolder,"source files(*.ring)")
cName = getsavefilename(this.win1,"新規ファイル",this.cStartupFolder,"Ring ソースファイル (*.ring)")
cName = getsavefilename(this.win1,"Save As",this.cStartupFolder,"source files(*.ring)")
cName = getsavefilename(this.win1,"名前を付けて保存",this.cStartupFolder,"Ring ソースファイル (*.ring)")
cStr = textedit1.toPlainText()
cStr = textedit1.toPlainText()
cTextHash = sha256(textedit1.toplaintext())
cTextHash = sha256(textedit1.toplaintext())
バージョンアップ時にリンクの更新を忘れやすいので注意。
cWebsite = "http://www.ring-lang.sf.net/doc1.11/index.html"
cWebsite = "http://www.ring-lang.sf.net/doc1.12/index.html"
cWebsite = oWBText.text()
cWebsite = oWBText.text()
chdir(cCurrentDir)
chdir(cCurrentDir)
chdir(cCurrentDir+"../findinfiles")
chdir(cCurrentDir+"../findinfiles")
chdir(exefolder())
chdir(exefolder())
class RNoteActiveFile
class RNoteActiveFile
class RNoteAutoComplete
class RNoteAutoComplete
class RNoteControllerBase from WindowsControllerParent
class RNoteControllerBase from WindowsControllerParent
class RNoteEditMenu
class RNoteEditMenu
class RNoteEditorEvents
class RNoteEditorEvents
class RNoteFileMenu
class RNoteFileMenu
class RNoteFindInFiles
class RNoteFindInFiles
class RNoteGoto
class RNoteGoto
class RNoteMainWindow
class RNoteMainWindow
class RNoteMode
class RNoteMode
class RNoteTreeViewEvents
class RNoteTreeViewEvents
class RNoteViewMenu
class RNoteViewMenu
class RNoteWebBrowser
class RNoteWebBrowser
del(aCMethodsList,x)
del(aCMethodsList,x)
else
else
exit
exit
filestabs.setTabText(0,"noname")
filestabs.setTabText(0,"無題")
for cFunction in aCFunctionsList
for cFunction in aCFunctionsList
for t=1 to nSize
for t=1 to nSize
for x = len(aCMethodsList) to 1 step -1
for x = len(aCMethodsList) to 1 step -1
func BrowserLink x
func BrowserLink x
func ChangeFile
func ChangeFile
func CheckSaveBeforeChange
func CheckSaveBeforeChange
func ClassesListWindowStatus
func ClassesListWindowStatus
func CopyText
func CopyText
func CreateMainWindow
func CreateMainWindow
[ 不具合と回避策 ]
この関数の StatusMessage の変更時、オリジナル (英語版) の書式と文字数を守ること。
守らない場合は異常終了の原因となります。
func CursorPositionChanged
func CursorPositionChanged
func Cut
func Cut
func DebugOperation cActiveFileName
func DebugOperation cActiveFileName
func FindInFilesSelect cFile,nRow
func FindInFilesSelect cFile,nRow
func Font
func Font
func FormDesignerWindowStatus
func FormDesignerWindowStatus
func FunctionsListWindowStatus
func FunctionsListWindowStatus
func Goto
func Goto
func GotoLine nLine
func GotoLine nLine
func NewFile
func NewFile
func Nofileopened
func Nofileopened
func OpenFindInFiles
func OpenFindInFiles
func OutputWindowStatus
func OutputWindowStatus
func Paste
func Paste
func PrepareAutoComplete
func PrepareAutoComplete
func ProjectWindowStatus
func ProjectWindowStatus
func Quit
func Quit
func RunOperation cActiveFileName
func RunOperation cActiveFileName
func SelectColor
func SelectColor
func SelectColor2
func SelectColor2
func SetActiveFileName
func SetActiveFileName
func SetFont
func SetFont
func SetMode nMode
func SetMode nMode
func SetWebsite
func SetWebsite
func SourceCodeWindowStatus
func SourceCodeWindowStatus
func TextChanged
func TextChanged
func Undo
func Undo
func WebBack
func WebBack
func WebBrowserWindowStatus
func WebBrowserWindowStatus
func WebGo
func WebGo
func pAbout
func pAbout
g = oColor.green()
g = oColor.green()
gotoline(nLine)
gotoline(nLine)
hide()
hide()
if aFont[1] != NULL
if aFont[1] != NULL
if cActiveFileName != NULL
if cActiveFileName != NULL
if cActiveFileName = NULL return ok
if cActiveFileName = NULL return ok
if cStr[t] = nl nLine-- ok
if cStr[t] = nl nLine-- ok
if isBatchFile(cFileName)
if isBatchFile(cFileName)
if isMainSourceFile()
if isMainSourceFile()
if isvisible()
if isvisible()
if lActivateFormDesigner
if lActivateFormDesigner
if lSetProjectFilesFont
if lSetProjectFilesFont
if nLine = 0
if nLine = 0
if nPos
if nPos
if r = 0 return ok
if r = 0 return ok
if r=0 return ok
if r=0 return ok
lAskToSave = true
lAskToSave = true
lAsktoSave = False
lAsktoSave = False
load "../findinfiles/findinfilesController.ring"
load "../findinfiles/findinfilesController.ring"
load "../formdesigner/formdesigner.ring"
load "../formdesigner/formdesigner.ring"
load "../libdepwin/Apache2.2/ring/prepare.ring"
load "../libdepwin/Apache2.2/ring/prepare.ring"
load "guilib.ring"
load "guilib.ring"
load "openssllib.ring"
load "openssllib.ring"
load "rnotefiles.ring"
load "rnotefiles.ring"
load "stdlibcore.ring"
load "stdlibcore.ring"
msginfo("Sorry","Can't open the file " + cActiveFileName)
msginfo("もうしわけございません","ファイルを開けません " + cActiveFileName)
msginfo("Sorry","Can't open the file : " + cName)
msginfo("もうしわけございません","ファイルを開けません : " + cName)
msginfo("Sorry","Save/Select the file first!")
msginfo("もうしわけございません","最初にファイルを保存・選択してください!")
nLine = 0 + oInput.textvalue()
nLine = 0 + oInput.textvalue()
nLine = textedit1.textcursor().blocknumber()+1
nLine = textedit1.textcursor().blocknumber()+1
nLine--
nLine--
nPos = substr(cMethod,"_")
nPos = substr(cMethod,"_")
nSize = len(cStr)
nSize = len(cStr)
new qcolordialog() {
new qcolordialog() {
next
next
oApp.quit()
oApp.quit()
oAutoCompleteList = new qStringList()
oAutoCompleteList = new qStringList()
oAutoCompleteList.RemoveDuplicates()
oAutoCompleteList.RemoveDuplicates()
oColor = currentcolor()
oColor = currentcolor()
oCursor = textedit1.textCursor()
oCursor = textedit1.textCursor()
oCursor = textedit1.textcursor()
oCursor = textedit1.textcursor()
oCursor.clearselection()
oCursor.clearselection()
oCursor.setposition(t,0)
oCursor.setposition(t,0)
oDesktop = new qDesktopWidget()
oDesktop = new qDesktopWidget()
oDockClassesList {
oDockClassesList {
oDockClassesList.setWindowTitle("Classes ("+oClassesList.Count()+")")
oDockClassesList.setWindowTitle("クラス ("+oClassesList.Count()+")")
oDockClassesList.setWindowTitle("Classes (Loading...)")
oDockClassesList.setWindowTitle("クラス (読み込み中...)")
oDockClassesList.show()
oDockClassesList.show()
oDockFormDesigner {
oDockFormDesigner {
oDockFormDesigner.raise()
oDockFormDesigner.raise()
oDockFormDesigner.show()
oDockFormDesigner.show()
oDockFunctionsList {
oDockFunctionsList {
oDockFunctionsList.setWindowTitle("Functions ("+oFunctionsList.Count()+")")
oDockFunctionsList.setWindowTitle("関数 ("+oFunctionsList.Count()+")")
oDockFunctionsList.setWindowTitle("Functions (Loading...)")
oDockFunctionsList.setWindowTitle("関数 (読み込み中...)")
oDockFunctionsList.show()
oDockFunctionsList.show()
oDockOutputWindow {
oDockOutputWindow {
oDockOutputWindow.show()
oDockOutputWindow.show()
oDockProjectFiles { if isvisible() hide() else Show() ok }
oDockProjectFiles { if isvisible() hide() else Show() ok }
oDockProjectFiles.Show()
oDockProjectFiles.Show()
oDockSourceCode { if isvisible() hide() else Show() ok }
oDockSourceCode { if isvisible() hide() else Show() ok }
oDockSourceCode.raise()
oDockSourceCode.raise()
oDockSourceCode.setWindowTitle("Source Code : " + cActiveFileName)
oDockSourceCode.setWindowTitle("ソースコード : " + cActiveFileName)
oDockSourceCode.show()
oDockSourceCode.show()
oDockWebBrowser { if isvisible() hide() else Show() ok }
oDockWebBrowser { if isvisible() hide() else Show() ok }
oDockWebBrowser.Show()
oDockWebBrowser.Show()
oDockWebBrowser.raise()
oDockWebBrowser.raise()
oDockWebBrowser.show()
oDockWebBrowser.show()
oFontDialog = new qfontdialog() {
oFontDialog = new qfontdialog() {
oInput = New QInputDialog(win1)
oInput = New QInputDialog(win1)
oTFont.fromstring(cFont)
oTFont.fromstring(cFont)
oTFont.setFamily("Roboto")
oTFont.setFamily("Roboto")
oTFont.setStrikeout(False)
oTFont.setStrikeout(False)
oTFont.setbold(False)
oTFont.setbold(False)
oTFont.setpointsize(max(oTFont.pointsize()-2,8))
oTFont.setpointsize(max(oTFont.pointsize()-2,8))
oWBText { setText(cLink) }
oWBText { setText(cLink) }
oWBText { setText(this.cWebSite) }
oWBText { setText(this.cWebSite) }
oWebView { loadpage(new qurl(cLink)) }
oWebView { loadpage(new qurl(cLink)) }
oWebView { loadpage(new qurl(this.cWebSite)) }
oWebView { loadpage(new qurl(this.cWebSite)) }
oWebView.Back()
oWebView.Back()
oWebView.LoadPage( new qurl( cWebSite ) )
oWebView.LoadPage( new qurl( cWebSite ) )
ok
ok
on VIEWMODE_GENERAL
on VIEWMODE_GENERAL
openFile(cFile)
openFile(cFile)
open_WindowAndLink(:findinfilesController,self)
open_WindowAndLink(:findinfilesController,self)
r = exec()
r = exec()
r = oColor.red()
r = oColor.red()
return "# Author :" + nl
return "# 製作者 :" + nl
return "# Date : " + Date() + nl + "# Time : " + Time() + nl
return "# 日付 : " + Date() + nl + "# 時刻 : " + Time() + nl
return cCode
return cCode
return true
return true
setFileTab(cActiveFileName)
setFileTab(cActiveFileName)
setInformativeText("Do you want to save your changes?")
setInformativeText("変更を保存しますか?")
setText("Back")
setText("戻る")
setText("Case Sensitive")
setText("英数大小区別")
setText("Clear")
setText("消去")
setText("Close")
setText("閉じる")
setText("Find What : ")
setText("検索対象 : ")
setText("Find/Find Next")
setText("検索/次を検索")
setText("Find/Find Prev")
setText("検索/前を検索")
setText("Go")
setText("移動")
setText("Input :")
setText("入力 :")
setText("Main File : ")
setText("メインファイル : ")
setText("Replace All")
setText("すべて置換")
setText("Replace with ")
setText("置換対象 ")
setText("Replace")
setText("置換")
setText("Send")
setText("送る")
setText("Website: ")
setText("ウェブサイト: ")
setWindowTitle("Find/Replace")
setWindowTitle("検索と置換")
setcurrentfont(this.oTFont)
setcurrentfont(this.oTFont)
setgeometry(100,100,400,50)
setgeometry(100,100,400,50)
setlabeltext("Line")
setlabeltext("移動先")
setlabeltext("Spaces Count")
setlabeltext("半角スペース換算")
setstatustip("Exit")
setstatustip("Ring ノートパッドを終了します")
settext("About")
settext("Ring ノートパッドについて")
settext("Art 2")
settext("アート2")
settext("Art 3")
settext("アート3")
settext("Art")
settext("アート")
settext("Back Color")
settext("背景の色")
settext("CHM File")
settext("CHM ファイル")
settext("Capitalize")
settext("語頭を大文字へ変換")
settext("Classes List")
settext("クラスのリスト")
settext("Close Active File")
settext("使用中のファイルを閉じる")
settext("Close All")
settext("すべて閉じる")
settext("Close Other Files")
settext("ほかのファイルを閉じる")
settext("Coding (All Windows)")
settext("コーディング (すべてのウィンドウ)")
settext("Coding (Code Editor)")
settext("コーディング (コードエディタ)")
settext("Coding (Project File + Editor)")
settext("コーディング (プロジェクトのファイル + エディタ)")
settext("Comment Block Of Lines")
settext("複数行コメント")
settext("Comment Lines")
settext("一行コメント")
settext("Common (All Windows + Output Window in the bottom)")
settext("通常 (すべてのウィンドウ + 下部に実行結果のウィンドウ)")
settext("Copy")
settext("コピー")
settext("Cut")
settext("切り取り")
settext("Debug (Run then wait!)")
settext("デバッグ - 実行後に待機!")
settext("Exit")
settext("終了")
settext("Files Manager (Explorer)")
settext("ファイルの管理 (エクスプローラ)")
settext("Find and Replace")
settext("検索と置換...")
settext("Find in Files")
settext("ファイルの検索")
settext("Font")
settext("フォント")
settext("Form Designer Window")
settext("フォームデザイナーのウィンドウ")
settext("Form Designer")
settext("フォームデザイナー")
settext("Functions List")
settext("関数のリスト")
settext("Fusion : Black")
settext("フュージョン : 黒")
settext("Fusion : Blue")
settext("フュージョン : 青")
・Fusion は「無国籍」の意味もあるが「異文化、異国、異邦、異郷」としたほうが良いかもしれない。
・なんだか色名だと味気ない。「白」なら「雪国」「シルクロード」「オパール」「パルプ」などのほうがいい。
settext("Fusion : White")
settext("フュージョン : 白")
settext("GUI Development (Code Editor + Form Designer)")
settext("GUI 開発 (コードエディタ + フォームデザイナー)")
settext("GUI Library")
settext("GUI ライブラリ")
settext("General")
settext("一般用途")
settext("Generate Ring Object File (*.ringo)")
settext("オブジェクトファイルの生成 (*.ringo)")
settext("Go to line")
settext("指定行へ移動...")
settext("Image 2")
settext("イメージ2")
settext("Image")
settext("イメージ")
settext("Insert Text : ")
settext("挿入するテキスト : ")
settext("Insert Text")
settext("テキストの挿入...")
settext("Learning Ring (Editor + Documentation)")
settext("Ring の学習 (エディタ + 取扱説明書)")
settext("Lower case")
settext("小文字へ変換")
settext("Main File : Debug (Run then wait!)")
settext("メインファイル : デバッグ (実行後に待機!)")
settext("Main File : Run GUI Application (No Console)")
settext("メインファイル : GUI アプリケーションの実行 (コンソール非表示)")
settext("Main File : Run Web Application (Open In Browser)")
settext("メインファイル : ウェブアプリケーションの実行 (ブラウザで開く)")
settext("Main File : Run")
settext("メインファイル : 実行")
settext("Modern : Black 2")
settext("モダン : 黒2")
settext("Modern : Black")
settext("モダン : 黒")
Modern は「モガ」とか「モダン焼き」など古い感じがする。ここは「未来の扉」などにしたほうがいいような。
settext("Modern")
settext("モダン")
settext("New")
settext("新規作成")
settext("Notepad : Black")
settext("ノートパッド : 黒")
settext("Notepad : DarkBlue")
settext("ノートパッド : 暗青")
settext("Notepad : Purple")
settext("ノートパッド : 紫")
settext("Notepad : White")
settext("ノートパッド : 白")
settext("Open")
settext("開く...")
settext("Output Window")
settext("実行結果のウィンドウ")
settext("PDF File")
settext("PDF ファイル")
settext("Paste")
settext("貼り付け")
settext("Print to PDF")
settext("PDF へ出力")
settext("Programming Language")
settext("プログラミング言語")
settext("Project Files")
settext("プロジェクトのファイル")
settext("Ring2EXE (Build Console Application)")
settext("Ring2EXE (コンソールアプリケーションのビルド)")
settext("Ring2EXE (Distribute Application - Use All Runtime - Hide Console Window)")
settext("Ring2EXE (アプリケーションの配布 - ランタイムをすべて使用 - コンソール非表示)")
settext("Ring2EXE (Distribute Application - Use All Runtime)")
settext("Ring2EXE (アプリケーションの配布 - ランタイムをすべて使用)")
settext("Ring2EXE (Distribute RingAllegro Game)")
settext("Ring2EXE (RingAllegro ゲームの配布)")
settext("Ring2EXE (Distribute RingQt Application)")
settext("Ring2EXE (RingQt アプリケーションの配布)")
settext("Ring2EXE (Prepare Qt Project - Distribute for Mobile Devices)")
settext("Ring2EXE (Qt プロジェクトの準備 - モバイル機器用の配布)")
settext("RingREPL - Console")
settext("RingREPL - コンソール")
settext("Run GUI Application (No Console)")
settext("GUI アプリケーションの実行 (コンソール非表示)")
settext("Run Web Application (Open In Browser)")
settext("ウェブアプリケーションの実行 (ブラウザで開く)")
settext("Run")
settext("実行")
settext("Save As")
settext("名前を付けて保存...")
settext("Save")
settext("保存")
settext("Set Tab Width")
settext("タブ幅の設定...")
settext("Set the Main File to be the current source file")
settext("現在のソースファイルをメインファイルとして設定")
settext("Some changes are not saved!")
settext("変更が保存されていません!")
settext("Source Code")
settext("ソースコード")
settext("Terminal (Command Prompt)")
settext("端末 (コマンドプロンプト)")
settext("Testing (Project Files + Code Editor + Output Window)")
settext("動作検証 (プロジェクトのファイル + コードエディタ + 実行結果のウィンドウ)")
settext("Text Color")
settext("テキストの色")
settext("Undo")
settext("元に戻す")
settext("Upper case")
settext("大文字へ変換")
settext("Web Browser")
settext("ウェブ・ブラウザ")
settext("Web Development (Code Editor + Web Browser)")
settext("ウェブ開発 (コードエディタ + ウェブブラウザ)")
settext("Windows")
settext("Windows 標準")
settextvalue("1")
settextvalue("1")
settooltip("Copy (Ctrl+C)")
settooltip("コピー (Ctrl+C)")
settooltip("Cut (Ctrl+X)")
settooltip("切り取り (Ctrl+X)")
settooltip("Debug - Run then wait!
settooltip("デバッグ -
settooltip("Find and Replace (Ctrl+F)")
settooltip("検索と置換 (Ctrl+F)")
settooltip("Font (Ctrl+I)")
settooltip("フォント (Ctrl+I)")
settooltip("Main File : Debug - Run then wait!
settooltip("メインファイル : デバッグ - 実行後に待機!
settooltip("Main File : Run GUI Application - No Console (Ctrl+Shift+F5)")
settooltip("メインファイル : GUI アプリケーションの実行 - コンソール非表示 (Ctrl+Shift+F5)")
settooltip("Main File : Run Web Application - Open In Browser (Ctrl+Shift+F6)")
settooltip("メインファイル : ウェブ・アプリケーションの実行 - ブラウザで開く (Ctrl+Shift+F6)")
settooltip("Main File : Run the program (Ctrl+Shift+R)")
settooltip("メインファイル : プログラムの実行 (Ctrl+Shift+R)")
settooltip("New File (Ctrl+N)")
settooltip("新規作成 (Ctrl+N)")
settooltip("Open File (Ctrl+O)")
settooltip("ファイルを開く (Ctrl+O)")
settooltip("Paste (Ctrl+V)")
settooltip("貼り付け (Ctrl+V)")
settooltip("Print (Ctrl+P)")
settooltip("印刷 (Ctrl+P)")
settooltip("Quit (Ctrl+Q)")
settooltip("終了 (Ctrl+Q)")
settooltip("Run GUI Application - No Console (Ctrl+F5)")
settooltip("GUI アプリケーションの実行 - コンソール非表示 (Ctrl+F5)")
settooltip("Run Web Application - Open In Browser (Ctrl+F6)")
settooltip("ウェブ・アプリケーションの実行 - ブラウザで開く (Ctrl+F6)")
settooltip("Run the program (Ctrl+R) ")
settooltip("プログラムの実行 (Ctrl+R) ")
settooltip("Save (Ctrl+S)")
settooltip("保存 (Ctrl+S)")
settooltip("Save As (Ctrl+E)")
settooltip("名前を付けて保存 (Ctrl+E)")
settooltip("Set the Main File to be the current source file (Ctrl+Shift+M)")
settooltip("現在のソースファイルをメインファイルとして設定 (Ctrl+Shift+M)")
settooltip("Undo (Ctrl+Z)")
settooltip("元に戻す (Ctrl+Z)")
setwindowtitle("Classes")
setwindowtitle("クラス")
setwindowtitle("Enter the line number?")
setwindowtitle("移動先の行番号")
setwindowtitle("Form Designer")
setwindowtitle("フォームデザイナー")
setwindowtitle("Functions")
setwindowtitle("関数")
setwindowtitle("Insert Text")
setwindowtitle("テキストの挿入")
setwindowtitle("Output")
setwindowtitle("実行結果")
setwindowtitle("Project Files")
setwindowtitle("プロジェクトのファイル")
setwindowtitle("Ring Notepad")
setwindowtitle("Ring ノートパッド")
setwindowtitle("Save Changes?")
setwindowtitle("変更を保存しますか?")
setwindowtitle("Set the Tab Width")
setwindowtitle("タブ幅の設定")
setwindowtitle("Source Code")
setwindowtitle("ソースコード")
setwindowtitle("Web Browser")
setwindowtitle("ウェブ・ブラウザ")
showmessage("Ready!",0)
showmessage("準備完了!",0)
subBrowser = addmenu("Browser")
subBrowser = addmenu("ブラウザ(&B)")
subDistribute = addmenu("Distribute")
subDistribute = addmenu("配布(&D)")
subEdit = addmenu("Edit")
subEdit = addmenu("編集(&E)")
subFile = addmenu("File")
subFile = addmenu("ファイル(&F)")
subHelp = addmenu("Help")
subHelp = addmenu("ヘルプ(&H)")
subHelpLF = addmenu("Language Reference")
subHelpLF = addmenu("言語リファレンス")
subHelpTools = addmenu("Development Tools")
subHelpTools = addmenu("開発ツール")
subOSTools = addmenu("Operating System Tools")
subOSTools = addmenu("オペレーティングシステムのツール")
subProgram = addmenu("Program")
subProgram = addmenu("プログラム(&P)")
subStyle = addmenu("Mode")
subStyle = addmenu("モード")
subStyle = addmenu("Style")
subStyle = addmenu("スタイル")
subTools = addmenu("Tools")
subTools = addmenu("ツール(&T)")
subView = addmenu("View")
subView = addmenu("表示(&V)")
switch nMode
switch nMode
tabifydockwidget(this.oDockFunctionsList,this.oDockClassesList)
tabifydockwidget(this.oDockFunctionsList,this.oDockClassesList)
tabifydockwidget(this.oDockFunctionsList,this.oDockOutputWindow)
tabifydockwidget(this.oDockFunctionsList,this.oDockOutputWindow)
tabifydockwidget(this.oDockSourceCode,this.oDockFormDesigner)
tabifydockwidget(this.oDockSourceCode,this.oDockFormDesigner)
tabifydockwidget(this.oDockSourceCode,this.oDockWebBrowser)
tabifydockwidget(this.oDockSourceCode,this.oDockWebBrowser)
textedit1.Document().setdefaultfont(oTFont)
textedit1.Document().setdefaultfont(oTFont)
textedit1.copy()
textedit1.copy()
textedit1.cut()
textedit1.cut()
textedit1.paste()
textedit1.paste()
textedit1.settextcursor(oCursor)
textedit1.settextcursor(oCursor)
textedit1.undo()
textedit1.undo()
this.DisplayClassesList()
this.DisplayClassesList()
this.DisplayFunctionsList()
this.DisplayFunctionsList()
this.StatusMessage("File : " + this.cActiveFileName + " saved!")
this.StatusMessage("ファイル : " + this.cActiveFileName + " 保存完了!")
this.aTextColor = [r,g,b]
this.aTextColor = [r,g,b]
this.oTFont.fromstring(this.cFont)
this.oTFont.fromstring(this.cFont)
tree1.setFocus(0)
tree1.setFocus(0)
tree1.setfont(oTFont)
tree1.setfont(oTFont)
win1 = new qMainWindow() {
win1 = new qMainWindow() {
win1 {
win1 {
{
{
}
}