Copy and paste and basic selection support

This commit is contained in:
Fabian Jakobs 2010-04-06 11:07:33 +02:00
commit f85c1b9758
6 changed files with 358 additions and 22 deletions

View file

@ -11,7 +11,7 @@
#virtual_container {
position: absolute;
padding: 3px;
/*padding: 3px;*/
border: 1px solid black;
overflow-x: auto;
overflow-y: hidden;
@ -37,6 +37,7 @@
}
.canvas {
z-index: 2;
position: absolute;
overflow: hidden;
font-family: Monaco, "Courier New";
@ -62,7 +63,7 @@
}
.line.odd {
background: #FAFAFA;
/*background: #FAFAFA;*/
}
.keyword {
@ -77,6 +78,15 @@
font-style: italic;
color: rgb(0, 102, 255);
}
.markers {
z-index: 1;
}
.selection {
position: absolute;
background: rgba(77, 151, 255, 0.33);
}
</style>
<script src="lib.js" type="text/javascript" charset="utf-8"></script>