bedit: oops
This commit is contained in:
@@ -144,7 +144,7 @@ while true do
|
|||||||
end
|
end
|
||||||
cursorX = cursorX - 1
|
cursorX = cursorX - 1
|
||||||
end
|
end
|
||||||
if keyboard.keys[eventArgs[4]] == "right" and cursorX < string.len(lines[cursorY]) then -- TODO: make scrolling up and down lines that are shorter than cursorX snap to the end of the line
|
if keyboard.keys[eventArgs[4]] == "right" and cursorX < string.len(lines[cursorY]) then
|
||||||
if cursorX - scrollX >= resX then
|
if cursorX - scrollX >= resX then
|
||||||
renderBufferFlag = true
|
renderBufferFlag = true
|
||||||
scrollX = scrollX + 1
|
scrollX = scrollX + 1
|
||||||
|
|||||||
Reference in New Issue
Block a user