projects
/
matthijs
/
master-project
/
report.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use the Linux Libertine roman font for regular text.
[matthijs/master-project/report.git]
/
pret-trans.lua
diff --git
a/pret-trans.lua
b/pret-trans.lua
index 7f32afded167f7f07fe3f1680c7b5b313a3d78c9..ac1b525946364600d9bff3616f14ec6539921cd8 100644
(file)
--- a/
pret-trans.lua
+++ b/
pret-trans.lua
@@
-38,7
+38,6
@@
end
-- Insert n blank lines
local function blanks(n)
-- Insert n blank lines
local function blanks(n)
- print("Inserting " .. n .. " blanks")
for i = 1,n do
buffers.visualizers.handlers.default.empty_line()
end
for i = 1,n do
buffers.visualizers.handlers.default.empty_line()
end
@@
-92,7
+91,6
@@
function vis.end_of_display()
break
end
end
break
end
end
- print("Rule length: " .. len)
-- Split the input in three parts. Stuff before the line, stuff
-- after the line, stuff to the right of the line.
-- Split the input in three parts. Stuff before the line, stuff
-- after the line, stuff to the right of the line.
@@
-106,7
+104,6
@@
function vis.end_of_display()
if utf.match(left, "^%-%-%-*") then
found_line = true
else
if utf.match(left, "^%-%-%-*") then
found_line = true
else
- print("Looking at " .. line .. "('" .. left .. "', '" .. right .. "')")
if utf.len(left) > 0 then
if not found_line then
table.insert(before, left)
if utf.len(left) > 0 then
if not found_line then
table.insert(before, left)