OSDN Git Service

Ring 1.10 以来となる開発環境の日本語ローカライズ版 (評価版) を追加 (ノートパッド、フォームデザイナー、対話型実行環境、ファイルの検索)。
[ring-lang-081/ring.git] / applications / rnote / source / rnoteeditorevents.ring
1 # The Ring Notepad Application (RNote)
2 # Author : Mahmoud Fayed <msfclipper@yahoo.com>
3
4 class RNoteEditorEvents
5
6         func TextChanged
7                 lAskToSave = true
8                 SetFont()
9                 SetActiveLineColor()
10
11         func CursorPositionChanged
12                 nLine = textedit1.textcursor().blocknumber()+1
13                 StatusMessage(" Line : "+nLine+
14                                         " Column : " +(textedit1.textcursor().columnnumber()+1) +
15                                         " Total Lines : " + textedit1.document().linecount())
16                 SetActiveLineColor()
17                 if cActiveFileName != NULL
18                         aFilesLines[cActiveFileName] = nLine
19                 ok