Browse Subversion Repository
Diff of /view.rb
Parent Directory
| Revision Log
| Patch
| 1 |
|
# view.rb: the module definition of Edmaru::View. |
| 2 |
# |
# |
|
# Edmaru: A scalable editor implemented by Ruby. |
|
| 3 |
# Copyright (C) 2007 Takashi Nakamoto |
# Copyright (C) 2007 Takashi Nakamoto |
| 4 |
# |
# |
| 5 |
# This program is free software; you can redistribute it and/or modify |
# This program is free software; you can redistribute it and/or modify |
| 47 |
@windows.push(Edmaru::window_class.new(self, 0, 0, |
@windows.push(Edmaru::window_class.new(self, 0, 0, |
| 48 |
allocated_column, |
allocated_column, |
| 49 |
allocated_line - 1)) |
allocated_line - 1)) |
|
#Set the default buffer. |
|
|
@windows[0].buffer = @buffer_manager.get("*scratch*") |
|
|
@windows[0].buffer.append("OK") |
|
|
|
|
| 50 |
@mini_window = |
@mini_window = |
| 51 |
Edmaru::mini_window_class.new(self, 0, |
Edmaru::mini_window_class.new(self, 0, |
| 52 |
allocated_line - 1, |
allocated_line - 1, |
|
|
Legend:
| Removed from v.10 |
|
| changed lines |
| |
Added in v.12 |
|
|
| |