Welcome,
Guest
. Please
login
or
register
.
July 31, 2010, 03:40:22 pm
HippoEDIT - Programmers text editor
General Category
Bug reports
Solved
(Moderators:
alex
,
Stefan
)
Syntax file: HTML
« previous
next »
Pages:
[
1
]
Author
Topic: Syntax file: HTML (Read 422 times)
Stefan
Administrator
Hero Member
Karma: +6/-0
Offline
Posts: 680
Syntax file: HTML
«
on:
October 29, 2009, 02:26:36 pm »
I just used the Code Template
<img
==>
<IMG SRC="%InteractiveFile%" ALT=""/>
But since i doesn't want to direct to an local file (but type my own location in), i canceled the browse-file-dialog.
(I mean, %InteractiveFile% doesn't fit here)
The issue i saw here was that after canceling the browse dialog,
the Code Template was
finished
too, letting me
alone with
an '<img' -
part
in the document
only
.
Just as idea:
can it be that after canceling the browse dialog the template is pasted in, even empty?
<IMG SRC="%|%" ALT=""/>
Work around:
In the meantime I have added an second Template for that case.
<imgi
(old template img renamed to imgi, i for interactive )
Key: <imgi
Des: <IMG interactive browse file
Code:
<IMG SRC="%InteractiveFile%" ALT=""/>
<img
(new template img, for just pasting in the template )
Key: <img
Des: <IMG template
Code:
<IMG SRC="%|%" ALT="" />
«
Last Edit: October 29, 2009, 02:37:51 pm by Stefan
»
Logged
Stefan, HippoEDIT beta tester (HippoEDIT News On Twitter:
http://twitter.com/hippoedit/
)
alex
Developer
Global Moderator
Hero Member
Karma: +19/-2
Offline
Gender:
Posts: 1284
Re: Syntax file: HTML
«
Reply #1 on:
October 29, 2009, 06:36:32 pm »
Hi Stefan,
Hm... I see the problem. In case of simple interactive tag, you stop template processing when selecting
Cancel
. But you still continue and enter nothing by selecting OK. And this is not possible with
InteractiveFile
etc. You could not open
empty file
... So I would change the logic in such way, that cancel in case of dialogs would set tag value to empty and continue processing.
I could not automatically replace it by %|% (at least now I am not sure that this is correct way) but you can get such behavior by doing adding %|% after %InteractiveFile%.
Would try to fix this today.
Best regards,
Alex.
Logged
HippoEDIT team
http://www.hippoedit.com/
Stefan
Administrator
Hero Member
Karma: +6/-0
Offline
Posts: 680
Re: Syntax file: HTML
«
Reply #2 on:
November 09, 2009, 08:25:21 pm »
Thanks, the <img case from above works better now with Version 739.
But, what do you think, what is about IIB (interactive input box) ? like
<A HREF="%Link%">%Link Text%[/url]%|%
If i cancel one IIB - then the whole insertion of the CT (code template) is canceled too.
The same thing as above. But i would expect to get the CT inserted like:
<A HREF=" "> [/url]%|%
at least, if possible.
Logged
Stefan, HippoEDIT beta tester (HippoEDIT News On Twitter:
http://twitter.com/hippoedit/
)
alex
Developer
Global Moderator
Hero Member
Karma: +19/-2
Offline
Gender:
Posts: 1284
Re: Syntax file: HTML
«
Reply #3 on:
November 09, 2009, 08:32:54 pm »
then do not press Cancel
but just OK with empty text.
Logged
HippoEDIT team
http://www.hippoedit.com/
Stefan
Administrator
Hero Member
Karma: +6/-0
Offline
Posts: 680
Re: Syntax file: HTML
«
Reply #4 on:
November 09, 2009, 09:39:10 pm »
A> "then do not press Cancel
but just OK with empty text"
Right
Logged
Stefan, HippoEDIT beta tester (HippoEDIT News On Twitter:
http://twitter.com/hippoedit/
)
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> General Discussion
=> FAQ
=> Feature requests and suggestions
===> Implemented
=> Add-ons, Tools, Plugins
=> Scripting, Scripts and Macros
=> Syntax Files
=> HippoEDIT vs Other text editors
=> Bug reports
===> Solved
=> Beta Version Test
===> Released
-----------------------------
Deutsche Unterstützung - German Support
-----------------------------
=> Allgemeine Fragen
-----------------------------
Русская Поддержка - Russian Support
-----------------------------
=> Общие вопросы
Powered by SMF 1.1.11
|
SMF © 2006-2009, Simple Machines LLC
Loading...