File tree Expand file tree Collapse file tree 3 files changed +14
-12
lines changed
je_editor/pyside_ui/code/plaintext_code_edit Expand file tree Collapse file tree 3 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 1
- # Rename to build stable version
2
- # This is stable version
1
+ # Rename to build dev version
2
+ # This is dev version
3
3
[build-system ]
4
- requires = [" setuptools>=61.0 " ]
4
+ requires = [" setuptools" ]
5
5
build-backend = " setuptools.build_meta"
6
6
7
7
[project ]
8
- name = " je_editor "
9
- version = " 0.0.174 "
8
+ name = " je_editor_dev "
9
+ version = " 0.0.190 "
10
10
authors = [
11
11
{
name =
" JE-Chen" ,
email =
" [email protected] " },
12
12
]
@@ -26,7 +26,6 @@ classifiers = [
26
26
" Operating System :: OS Independent"
27
27
]
28
28
29
-
30
29
[project .urls ]
31
30
Homepage = " https://github.com/JE-Chen/je_editor"
32
31
Documentation = " https://je-editor.readthedocs.io/en/latest/"
Original file line number Diff line number Diff line change @@ -136,7 +136,9 @@ def complete(self) -> None:
136
136
else :
137
137
script = jedi .Script (code = self .toPlainText ())
138
138
jedi_complete_list : List [Completion ] = script .complete (
139
- self .textCursor ().blockNumber () + 1 , self .textCursor ().positionInBlock ())
139
+ self .textCursor ().blockNumber () + 1 ,
140
+ len (self .textCursor ().document ().findBlockByLineNumber (self .textCursor ().blockNumber ()).text ())
141
+ )
140
142
if len (jedi_complete_list ) > 0 :
141
143
new_complete_list = list ()
142
144
for complete_text in jedi_complete_list :
Original file line number Diff line number Diff line change 1
- # Rename to build dev version
2
- # This is dev version
1
+ # Rename to build stable version
2
+ # This is stable version
3
3
[build-system ]
4
- requires = [" setuptools" ]
4
+ requires = [" setuptools>=61.0 " ]
5
5
build-backend = " setuptools.build_meta"
6
6
7
7
[project ]
8
- name = " je_editor_dev "
9
- version = " 0.0.189 "
8
+ name = " je_editor "
9
+ version = " 0.0.175 "
10
10
authors = [
11
11
{
name =
" JE-Chen" ,
email =
" [email protected] " },
12
12
]
@@ -26,6 +26,7 @@ classifiers = [
26
26
" Operating System :: OS Independent"
27
27
]
28
28
29
+
29
30
[project .urls ]
30
31
Homepage = " https://github.com/JE-Chen/je_editor"
31
32
Documentation = " https://je-editor.readthedocs.io/en/latest/"
You can’t perform that action at this time.
0 commit comments