Closed vi closed 11 years ago
New code editor supports Closure highlighting, including rainbow parentheses. I'm using it since January, and planing to release first Beta in about 10 weeks.
I see rainbow parthneses when I start Enki from "qutepart" branch.
vi, have you tried to use qutepart (currently master) branch? I'm near to release it as next official, and interesting in your opinion
Currently using "Version 12.08.5" as default Enki.
Will try to configure master Enki... How to do it properly preserving old Enki as well? Shall I use virtualenv?
Hmm. I've never tried virtualenv, but should work.
You may also install qutepart to the system (./setup.py install
), then run master enki from the sources (bin/enki
)
Doing something like this:
$ ./setup.py build
$ fakeroot checkinstall --pkgname local-qutepart -y -D --install=no --nodoc --fstrans --pkgversion 0.407.8b7781d2234 --exclude /home ./setup.py install
# dpkg -i local-qutepart_0.407.8b7781d2234-1_i386.deb
Trying to start bin/enki
in e1cc36b84463e02e8f7593e26041fe699c2534c4.
CRITICAL:root:Traceback (most recent call last):
File "/mnt/src/git/enki/bin/../enki/plugins/session.py", line 44, in _onRestoreSession
core.workspace().openFile(filePath)
File "/mnt/src/git/enki/bin/../enki/core/workspace.py", line 455, in openFile
document = Document(self, filePath)
File "/mnt/src/git/enki/bin/../enki/core/document.py", line 174, in __init__
self._tryDetectSyntax()
File "/mnt/src/git/enki/bin/../enki/core/document.py", line 178, in _tryDetectSyntax
firstLine=self.qutepart.lines[0])
TypeError: detectSyntax() got an unexpected keyword argument 'firstLine'
CRITICAL:root:Traceback (most recent call last):
File "bin/enki", line 256, in <module>
sys.exit(main())
File "bin/enki", line 222, in main
core.workspace().createEmptyNotSavedDocument()
File "/mnt/src/git/enki/bin/../enki/core/workspace.py", line 494, in createEmptyNotSavedDocument
document = Document(self, filePath, createNew=True)
File "/mnt/src/git/enki/bin/../enki/core/document.py", line 174, in __init__
self._tryDetectSyntax()
File "/mnt/src/git/enki/bin/../enki/core/document.py", line 178, in _tryDetectSyntax
firstLine=self.qutepart.lines[0])
TypeError: detectSyntax() got an unexpected keyword argument 'firstLine'
Exception AttributeError: "'NoneType' object has no attribute 'actionManager'" in <bound method UISettingsManager.__del__ of <enki.core.uisettings.UISettingsManager object at 0x84dee3c>> ignored
Have you pulled and installed the latest qutepart? Since first release enki will check, if compatible qutepart version is installed, but I don't do it now.
On Thu, Jun 6, 2013 at 4:25 PM, Vitaly Shukela notifications@github.comwrote:
Doing something like this:
$ ./setup.py build $ fakeroot checkinstall --pkgname local-qutepart -y -D --install=no --nodoc --fstrans --pkgversion 0.407.8b7781d2234 --exclude /home ./setup.py install
dpkg -i local-qutepart_0.407.8b7781d2234-1_i386.deb
Trying to start bin/enki in e1cc36bhttps://github.com/hlamer/enki/commit/e1cc36b84463e02e8f7593e26041fe699c2534c4 .
CRITICAL:root:Traceback (most recent call last): File "/mnt/src/git/enki/bin/../enki/plugins/session.py", line 44, in _onRestoreSession core.workspace().openFile(filePath) File "/mnt/src/git/enki/bin/../enki/core/workspace.py", line 455, in openFile document = Document(self, filePath) File "/mnt/src/git/enki/bin/../enki/core/document.py", line 174, in init self._tryDetectSyntax() File "/mnt/src/git/enki/bin/../enki/core/document.py", line 178, in _tryDetectSyntax firstLine=self.qutepart.lines[0]) TypeError: detectSyntax() got an unexpected keyword argument 'firstLine' CRITICAL:root:Traceback (most recent call last): File "bin/enki", line 256, in
sys.exit(main()) File "bin/enki", line 222, in main core.workspace().createEmptyNotSavedDocument() File "/mnt/src/git/enki/bin/../enki/core/workspace.py", line 494, in createEmptyNotSavedDocument document = Document(self, filePath, createNew=True) File "/mnt/src/git/enki/bin/../enki/core/document.py", line 174, in init self._tryDetectSyntax() File "/mnt/src/git/enki/bin/../enki/core/document.py", line 178, in _tryDetectSyntax firstLine=self.qutepart.lines[0]) TypeError: detectSyntax() got an unexpected keyword argument 'firstLine' Exception AttributeError: "'NoneType' object has no attribute 'actionManager'" in <bound method UISettingsManager.del of <enki.core.uisettings.UISettingsManager object at 0x84dee3c>> ignored — Reply to this email directly or view it on GitHubhttps://github.com/hlamer/enki/issues/80#issuecomment-19044654 .
Qutepart is 8b7781d2234f737246440f2e3612284a3368d3f3, as mentioned in the log above.
This commit has been done 2 month ago. Update to the master
On Thu, Jun 6, 2013 at 4:40 PM, Vitaly Shukela notifications@github.comwrote:
Qutepart is 8b7781dhttps://github.com/hlamer/enki/commit/8b7781d2234f737246440f2e3612284a3368d3f3, as mentioned in the log above.
— Reply to this email directly or view it on GitHubhttps://github.com/hlamer/enki/issues/80#issuecomment-19045480 .
Installed the latest qutepart (0.440.695dede), master's enki started working.
First thoughts:
Will use master enki for some time, but currently like old one more (faster startup + column editing)...
Maybe they can be combined? Enki starts in "lightweight editor" mode (without syntax highlight at all), then goes to qutepart mode...
- "hot" startup time. Old enki: about 3 seconds, master enki: about 7 seconds;
Please subscribe to #83 (Watch thread
menu at the bottom) so you will receive further updates. Comment issue there
- Additional black border is visible in qutepart enki;
Please subscribe to #84 and comment
- Memory usage (per ps_mem.py): old - about 23 MB; new - about 29 MB;
I think it is not a problem.
- C code and highlighting looking nicer in qutepart;
Yes, I also like more this colors
- No column editing / rectangular selection...
Please subscribe to #85 and comment
- Old enki: about 67 entries in keyboard shortcuts tree, cutepart enki: about 53 entries in the tree. Something's gone... "Edit" menu looks too small.
I'm happy about it. Simpler is better.
- Opening the same C file, placed cursor at top, holding "Down" button (so cursor is moving down and the text scrolling). Old enki: about 60% CPU usage; Qutepart enki: about 90% CPU usage.
Please subscribe to #87 and comment
Please subscribe to #86 and comment
I grouped the issues as qutepart-release
milestone
.9. Previous "Redo" shortcut was Ctrl+Y and was present in the main menu. Now it's Ctrl+Shift+Z and I can't find it in main menu...
I've opened #88. Could you please open separate github issues. It is easier to comment and track it
vi, give me your photo for http://enki-editor.org/team.html
To be more Lisp-ready, text editor can support rainbow parentheses. It means matching pairs of parentheses should be displayed each using it's own colour.
Outermost parentheses can also be bolder.