// backup the old screen attributes\r
//\r
Orig = HMainEditor.ColorAttributes;\r
+ New.Data = 0;\r
New.Colors.Foreground = Orig.Colors.Background;\r
New.Colors.Background = Orig.Colors.Foreground;\r
\r
UINTN StartRow;\r
UINTN EndRow;\r
UINTN FStartRow;\r
- UINTN FEndRow;\r
UINTN Tmp;\r
\r
Orig = HMainEditor.ColorAttributes;\r
+ New.Data = 0;\r
New.Colors.Foreground = Orig.Colors.Background;\r
New.Colors.Background = Orig.Colors.Foreground;\r
\r
}\r
\r
FStartRow = StartRow;\r
- FEndRow = EndRow;\r
\r
StartRow = 2 + StartRow - HBufferImage.LowVisibleRow;\r
EndRow = 2 + EndRow - HBufferImage.LowVisibleRow;\r
VOID\r
)\r
{\r
- HEFI_EDITOR_LINE *Line;\r
UINTN FRow;\r
UINTN FCol;\r
UINTN Gap;\r
INTN Retreat;\r
\r
- Line = HBufferImage.CurrentLine;\r
-\r
FRow = HBufferImage.BufferPosition.Row;\r
FCol = HBufferImage.BufferPosition.Column;\r
\r
Retreat = Gap;\r
Retreat = -Retreat;\r
\r
- //\r
- // get correct line\r
- //\r
- Line = HMoveLine (Retreat);\r
-\r
FRow -= Gap;\r
\r
HBufferImageMovePosition (FRow, FCol, HBufferImage.HighBits);\r
VOID\r
)\r
{\r
- HEFI_EDITOR_LINE *Line;\r
UINTN FRow;\r
UINTN FCol;\r
BOOLEAN HighBits;\r
\r
- Line = HBufferImage.CurrentLine;\r
-\r
//\r
// curosr will at the high bit\r
//\r
\r
HEFI_EDITOR_LINE *Line;\r
LIST_ENTRY *Link;\r
- UINTN StartRow;\r
\r
UINTN OldFCol;\r
UINTN OldFRow;\r
\r
EFI_STATUS Status;\r
\r
- //\r
- // get the line that start position is at\r
- //\r
- StartRow = Pos / 0x10;\r
-\r
Size = HBufferImageGetTotalSize ();\r
\r
if (Size < Count) {\r
HEFI_EDITOR_LINE *Line;\r
\r
LIST_ENTRY *Link;\r
- UINTN StartRow;\r
\r
UINTN OldFCol;\r
UINTN OldFRow;\r
\r
UINTN NewPos;\r
\r
- //\r
- // get the line that start position is at\r
- //\r
- StartRow = Pos / 0x10;\r
-\r
Size = HBufferImageGetTotalSize ();\r
\r
//\r