SciTE v 3.20 Beta available
#141
Posted 01 April 2012 - 09:54 PM
Can this be done with the AutoIt package or do I need to request it be added to the original SciTE?
#142
Posted 02 April 2012 - 06:42 PM
I use the standard SciTE package released by Neil and are limiting the mods made, so this will feature have to come from there.I would like to be able to toggle a bookmark (Ctrl + F2) by clicking the margin next to the line number.
Can this be done with the AutoIt package or do I need to request it be added to the original SciTE?
Jos
Visit the SciTE4AutoIt3 Download page for the latest versions Forum Rules
Live for the present,
Dream of the future,
Learn from the past.
#143
Posted 04 April 2012 - 07:44 PM
I use the standard SciTE package released by Neil and are limiting the mods made, so this will feature have to come from there.
Okay, I made a feature request but Neil rejected it because clicking in the margin is already used for selecting lines.
Given that SciTE can already detect margin clicks, could the bookmark toggling be added by a LUA script?
#144
Posted 04 April 2012 - 08:05 PM
As for Lua, there is an OnMarginClick() event that might be useful to implement the functionality.
#145
Posted 05 April 2012 - 02:12 AM
Thanks for the tip, Valik. After reading various documents, I have implemented similar functionality which I find to be quite satisfactory.As for Lua, there is an OnMarginClick() event that might be useful to implement the functionality.
OnMarginClick() didn't work like I expected and caused too many problems, so I used OnDoubleClick(). Now when I double-click a line, a bookmark is toggled on/off for that line. I think this is just as good, if not better, than the margin clicking version found in Notepad++.
Here are the installation instructions for anyone that is interested. In anyone sees something I did wrong, please let me know.
I'm not sure this qualifies as "outside of the scite source" but the Menu IDs are defined in SciTE.h which can be viewed here.Is there somewhere outside of the scite source that I can find the menucommand IDs?
http://scintilla.hg.sourceforge.net/hgweb/scintilla/scite/file/tip/src/SciTE.h
#146
Posted 05 April 2012 - 02:19 AM
#147
Posted 05 April 2012 - 02:35 AM
First, folding points are in the margin, so toggling a fold will also toggle a bookmark at the same time.
The bigger problem was that I can't find any way to get the line number the margin was clicked at. The bookmark will always be toggled at the line where the caret is located. If the caret is at line 2 and you click the margin at line 5, the bookmark will be toggled at line 2.
#148
Posted 01 May 2012 - 11:53 AM
For example I added a new color for AutoIt Objects functions name but I want one more and for some reason doesn't work.
This is how it looks like au3.properties:
I tried to add new lines like below but without success:
Any idea?# Others
keywords10.$(au3)=$(au3.keywords.others)
# Others
style.au3.17=fore:#FF8000,italics,bold
#149
Posted 01 May 2012 - 05:04 PM
#150
Posted 09 June 2012 - 07:37 PM
See first post.
Edited by Jos, 09 June 2012 - 08:34 PM.
- jaberwocky6669 likes this
Visit the SciTE4AutoIt3 Download page for the latest versions Forum Rules
Live for the present,
Dream of the future,
Learn from the past.
#151
Posted 09 June 2012 - 11:02 PM
RegisterDeviceNotifications | FunctionNameLister | SciTE Customization GUI | MouseHover --> CallTips
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users




This topic is locked

