fixed: #9897. Fixed problem with highlighting in codearea. Updated EditArea to version 0.8.1.1

This commit is contained in:
Doug Bell 2009-05-01 18:29:41 +00:00
parent bbbe385889
commit 3320465ca4
66 changed files with 3122 additions and 2275 deletions

View file

@ -13,7 +13,7 @@ body, html, table, form, textarea{
#editor{
border: solid #888 1px;
overflow: visible;
overflow: hidden;
}
#result{
@ -51,6 +51,7 @@ body, html, table, form, textarea{
z-index: 7;
border-width: 0;
background-color: transparent;
resize: none;
}
#textarea, #textarea:hover{
@ -67,10 +68,10 @@ body, html, table, form, textarea{
}
#selection_field{
#selection_field, #selection_field_text{
margin: 0;
background-color: #E1F2F9;
height: 1px;
/* height: 1px; */
position: absolute;
z-index: 5;
top: -100px;
@ -79,13 +80,35 @@ body, html, table, form, textarea{
overflow: hidden;
}
#selection_field.show_colors{
#selection_field.show_colors {
z-index: 3;
background-color:#EDF9FC;
color:transparent;
}
#container.wrap_text #content_highlight, #container.wrap_text #selection_field{
#selection_field strong{
font-weight:normal;
}
#selection_field.show_colors *, #selection_field_text * {
visibility: hidden;
}
#selection_field_text{
background-color:transparent;
}
#selection_field_text strong{
font-weight:normal;
background-color:#3399FE;
color: #FFF;
visibility:visible;
}
#container.word_wrap #content_highlight,
#container.word_wrap #selection_field,
#container.word_wrap #selection_field_text,
#container.word_wrap #test_font_size{
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
@ -129,7 +152,7 @@ pre{
z-index:6;
background-color: #FF6633;
top: -100px;
margin: 1px 0 0 0;
margin: 0;
}
#result .edit_area_selection_field .overline{