<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — Editor highlighting button]]></title>
		<link>http://forums.approximatrix.com/viewtopic.php?id=389</link>
		<atom:link href="http://forums.approximatrix.com/extern.php?action=feed&amp;tid=389&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Editor highlighting button.]]></description>
		<lastBuildDate>Wed, 04 Feb 2015 15:23:40 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Editor highlighting button]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=1883#p1883</link>
			<description><![CDATA[<p>Bookmarks, as explained in my last post, are now implemented in the development version.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Wed, 04 Feb 2015 15:23:40 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=1883#p1883</guid>
		</item>
		<item>
			<title><![CDATA[Re: Editor highlighting button]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=1620#p1620</link>
			<description><![CDATA[<p>Sounds all good.<br />-- <br />J.</p>]]></description>
			<author><![CDATA[null@example.com (JohnWasilewski)]]></author>
			<pubDate>Mon, 24 Nov 2014 13:02:07 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=1620#p1620</guid>
		</item>
		<item>
			<title><![CDATA[Re: Editor highlighting button]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=1616#p1616</link>
			<description><![CDATA[<p>I actually don&#039;t have a problem with what John is suggesting, but I think it would work slightly differently.</p><p>Coloring text in our editor is actually quite difficult because there is already a lot of code making those &quot;styling&quot; decisions.&nbsp; There is a lexer engine that determine what colors/fonts/styles text should have in the editor based solely on the language being edited and the content of the editor.&nbsp; Trying to override the styling by, for example, changing the background color of a region in the editor means that the lexer styling has to actually be intercepted and changed prior to display.&nbsp; While possible, it&#039;s effectively a big pain to do.&nbsp; Underlining things is no problem because that&#039;s actually setting an additional, specialized style.</p><p>I think a better way would be to do so in the margins, perhaps where the line numbers are displayed, perhaps in an additional margin (there are currently three being used: line number, code folding, and debugging symbols).&nbsp; It would effectively achieve what John is looking for without actually having to touch the editor styling.&nbsp; Does that sound like it might work?&nbsp; I&#039;ve also been toying with the idea of adding bookmarks to the editor as well, which would also reside in a margin.</p><p>David,&nbsp; I strongly agree about the &quot;expand/collapse all&quot; code folding options.&nbsp; I am always collapsing giant routines by mistake and scrolling way back up to find the expand button.&nbsp; I also think collapse should work unless you click on the actual minus sign rather than just in the margin anywhere.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Sat, 22 Nov 2014 00:16:44 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=1616#p1616</guid>
		</item>
		<item>
			<title><![CDATA[Re: Editor highlighting button]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=1613#p1613</link>
			<description><![CDATA[<p>Hi John,</p><p>I usually have syntax highlighting turned on for the whole file.</p><p>To help with mismatches in if-end if blocks, try turning on Editor options &quot;Indentation Guides&quot; and/or &quot;Enable Code Folding&quot;.</p><p>Will have to wait and see if Jeff thinks syntax highlighting on parts of a file would be possible or not. I think it might be hard.</p><p>What Jeff could possibly do would be to have a &quot;syntax level&quot; number instead instead of the &quot;line number&quot; as an option so you could see how the blocks are numbered, for example</p><p>1&nbsp; If (Flag) Then</p><p>&nbsp; &nbsp; &nbsp; &nbsp;... etc</p><p>2&nbsp; &nbsp; &nbsp; if (a &gt; 0.0) Then</p><p>&nbsp; &nbsp; &nbsp; &nbsp; ... etc</p><p>2&nbsp; &nbsp; &nbsp; else<br />3&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (c &lt; 2.0) then<br />4&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; do i=1,10<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;.. etc<br />4&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; end do<br />3&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;end if<br />2&nbsp; &nbsp; &nbsp; end if</p><p>But the use of indentation guides, a consistent indent and tab policy and and code folding should suffice really.</p><p>PS. Jeff, we need a &quot;collapse all&quot; and &quot;open all&quot; option somewhere (control key, menu) to go with the folding.</p>]]></description>
			<author><![CDATA[null@example.com (davidb)]]></author>
			<pubDate>Thu, 20 Nov 2014 18:09:54 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=1613#p1613</guid>
		</item>
		<item>
			<title><![CDATA[Editor highlighting button]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=1612#p1612</link>
			<description><![CDATA[<p><strong> <span style="color:blue">Feature request</span> </strong><br />Would it be possible to add a button to the editor to enable us to highlight parts of a source file?&nbsp; Highlighting should obviously be ignored by the compiler, but it would be a very useful aid to visual debugging.&nbsp; <br />A facility to highlight selected text in a drop-down-selected colour would be ideal, although even if we were limited to, say, yellow, it would still be very useful.</p><p>It would also be ideal if highlighting was saved when a file was saved, but this is also &#039;dowithoutable&#039;.</p><p><strong> <span style="color:blue">Usefulness</span> </strong><br />A problem I often have to correct is an error message about incorrect nesting of loops.&nbsp; I search and search through the code, visually tracking the beginning and end of each DO and each IF.&nbsp; Errors in simple nesting aren&#039;t so hard to correct but when there are sequential as well as nested DOs and IFs, and when they straddle more code than I can fit on one screen, so I have to keep scrolling, it is very difficult to keep track!</p><p>I currently use the mouse to select a block of code and &#039;grow&#039; my selection outwards (upwards and downwards) from the innermost loop but I can&#039;t multi-select separate blocks.&nbsp; Highlighting would be a great improvement over this.<br />--- <br />John</p>]]></description>
			<author><![CDATA[null@example.com (JohnWasilewski)]]></author>
			<pubDate>Thu, 20 Nov 2014 15:11:59 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=1612#p1612</guid>
		</item>
	</channel>
</rss>
