efront 4.35.3 → 4.35.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/#/345/233/275/351/231/205/345/214/226.yml +3 -0
- package/coms/basic/Table.js +26 -0
- package/coms/basic/escapeRegExp.js +24 -0
- package/coms/basic/escapeRegExp_test.js +35 -0
- package/coms/basic/math.js +71 -0
- package/coms/basic/math.md +86 -0
- package/coms/basic/spaces.js +1 -1
- package/coms/compile//347/256/227/345/274/217.js +38 -7
- package/coms/compile//347/256/227/345/274/217_test.js +6 -2
- package/coms/compile//347/264/240/351/246/250.js +4 -3
- package/coms/compile//347/264/240/351/246/250_test.js +8 -2
- package/coms/explorer/main.less +1 -0
- package/coms/reptile/colors.js +2 -1
- package/coms/zimoli/arriswise.js +1 -1
- package/coms/zimoli/color-config.less +1 -1
- package/coms/zimoli/confirm.js +1 -1
- package/coms/zimoli/popup.js +1 -1
- package/coms/zimoli/prompt.js +4 -1
- package/coms/zimoli/scrollbar.less +1 -1
- package/coms/zimoli/table.js +1 -1
- package/coms/zimoli/vbox.js +1 -0
- package/coms//350/214/250/350/217/260//344/270/212/350/211/262.xht +5 -1
- package/coms//350/214/250/350/217/260//346/240/207/347/255/276/345/214/226.js +9 -1
- package/coms//350/214/250/350/217/260//346/270/262/346/237/223.js +1 -1
- package/coms//350/214/250/350/217/260//347/274/226/350/276/221/346/241/206.xht +16 -2
- package/package.json +1 -1
- package/public/efront.js +1 -1
- package/public//346/226/207/344/273/266/347/263/273/347/273/237//344/270/273/351/241/265.jsp +2 -2
- package/debug.log +0 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<style>
|
|
2
2
|
& {
|
|
3
|
-
overflow:
|
|
3
|
+
overflow: hidden;
|
|
4
4
|
border-top: 0;
|
|
5
5
|
border-bottom: 0;
|
|
6
6
|
display: block;
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
margin-left:-@{w}em;
|
|
44
44
|
border-left: @{w}em solid transparent;
|
|
45
45
|
width: 100%;
|
|
46
|
-
overflow-x:
|
|
46
|
+
overflow-x: hidden;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
>[nlist] {
|
|
@@ -107,6 +107,13 @@
|
|
|
107
107
|
height: 1.36em;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
+
|
|
111
|
+
>scrollbar {
|
|
112
|
+
right: 0;
|
|
113
|
+
left: auto !important;
|
|
114
|
+
position: fixed;
|
|
115
|
+
z-index: 1;
|
|
116
|
+
}
|
|
110
117
|
</style>
|
|
111
118
|
<编辑框 spellcheck=false e-class="上色.className" e-style="{whiteSpace:'pre'}" ntype:="codeSpan">
|
|
112
119
|
<list contenteditable="false" nlist# :src="(r,i) in coderows" -style="{height:codeHeight}">
|
|
@@ -115,9 +122,16 @@
|
|
|
115
122
|
<list clist# body contenteditable:="contenteditable" :src="(r,i) in coderows" -style="{height:codeHeight}">
|
|
116
123
|
<d -html="r"></d>
|
|
117
124
|
</list>
|
|
125
|
+
<scrollbar x></scrollbar>
|
|
126
|
+
<scrollbar y :target="this.parentNode"></scrollbar>
|
|
118
127
|
</编辑框>
|
|
119
128
|
<script>
|
|
120
129
|
var coder = this;
|
|
130
|
+
onmousewheel(this, function (event) {
|
|
131
|
+
if (!event.shiftKey) return;
|
|
132
|
+
event.preventDefault();
|
|
133
|
+
clist.scrollLeft += event.deltaY;
|
|
134
|
+
});
|
|
121
135
|
vbox(this);
|
|
122
136
|
var contenteditable = !this.readonly;
|
|
123
137
|
watch(coder, {
|