Kony Visualizer - Ctrl + space doesn't list out header and footers - temenos-quantum

Trying to access header or its widgets using code or API, Is there any existing APIs or single line code to access headers and footers ?. I am unable to see the list of options while doing a ctrl + space in kony visualizer editor, please help.

kony.application.getCurrentForm().headers[0]

Related

How to collapse heading in ascii doc file

I have following file as adoc file.
= Template
:toc: left
:toclevels: 5
:sectnums:
:sectnumlevels: 5
== Course1
=== Section 1
This is section 1
=== Section 2
This is section 1
== Course2
=== Section 1
This is section 1
=== Section 2
This is section 1
I have installed asciidoc pluging in my chrome and when I open the file in chrome, it looks like this:
Some of the files are very big, and also the Table of Content has become huge.
Question: Is there a way to click on lets say Course2, and the sections under that would collapse, and expand if I click on it again.
I have tried the following link: How to collapse TOC(table of contents) in spring RestDoc (asciidoc)? and few other resources on internet but not much luck.
Please guide.
Thanks.
The main difference between the RestDoc solution and your current situation is the technique required to load the custom JavaScript.
In the RestDoc solution, the technique is to use docinfo files which get loaded during the execution of asciidoctor. See https://docs.asciidoctor.org/asciidoctor/latest/docinfo/ for more details.
When you use the Asciidoctor.js extension, you have to configure the extension to explicity load the custom javascript. The extension doesn't have access to the filesystem, so it can't look for JavaScript automatically. You have to load custom JavaScript into the extension itself.
Right-click the extension icon in the Chrome button bar, and select "Options". In the "Asciidoctor.js Live Preview" options pane, scroll to the bottom and click "Add a JavaScript...". The JavaScript you add needs to be in a file in your computer's file system. Once added, you can use the radio buttons at the bottom to select when the script runs.
Your browser's developer tools console will show any errors or console.log output from your added JavaScript code, which can be very helpful if there are problems.
This is not a problem with the Syntax itself but with the way you display the file.
If you have huge AsciiDoc files and need a good way to display them I would encourage you to check Antora, it generates a static website out of your AsciiDoc files in a very clear and organized way. You get by default this collapsing table of content on the left, you can check the default look in their documentation.
It changes the way you need to organize your documents and is a bit bit of work for the installation but the result is great.

MASM - Find browser window title?

I have a Webbrowser implemented into my application, is there any way to find the title of the currently loaded document in the Webbrowser ?
What I am trying to achieve is that the browser reloads the website until the document reaches a specific title.
You implemented the IE browser com object in your application ?
If so, you can get the "IHTMLDocument2" interface pointer and call the "get_title" to obtain the title string. Alternatively you can also get the html source from the "IHTMLDocument3" interface and parse it youself.
refer: Retrieve HTML source from CHtmlView (visual studio 6)

class name and method name dropdown list is missing (visual studio setting)

Does anyone know how to get my class name and method name dropdown lists again? It's the dropdown lists that are usually above the code. It's just a setting but i can't seem to find it. I don't want to reset my setting btw. I shouldn't have to.
Tools-->Options...
Text Editor-->All Languages
Check "Navigation Bar."
(Picture is from VS2013)
Tools - Options - Text Editor - (choose the type of file - C#, html, etc) - General
In the bottom section of the form (The "Display" area) make sure that "Navigation Bar" is checked.
Actually there is a bug in VS2013, where if you place VS on the monitor on the left side, and this is not your primary monitor, then the dropdowns will not work.
I came here searching for a solution for javascript/node.js specifically (in VS 2013). Only by doing further search I found out that this feature has been removed (from RC) due to stability/performance reasoning and is not available anymore.
https://connect.microsoft.com/VisualStudio/feedback/details/806325/javascript-navigation-bars-are-missing-after-upgrading-from-vs2013-pro-rc-to-rtm
Also, I did not see this added again through either node tools or web essentials.
In VS2015 I just had to toggle this setting off then back on again to get the navigation bar back.
If you want a list of javascript functions that works similar to the navigation bar in the VB or C# pages then search for the extension inside Tools > Extensions and Updates...
Javascript Map Parser
You have to add in aspx into the pages is parses but it's exactly what I needed to quickly find functions in a big section of Javascript I had.
Make sure you in code behind file.
In my case I was looking at code (VB) server side code inside .aspx page, and the dropdown only for code behind files (.aspx.vb or aspx.cs)

Vimperator/Conkeror-like link selection

I use Conkeror on a daily basis except at work where I need Firebug, since I'm a web developer. I really miss having the "follow link" ability in Conkeror but I don't want to resort to using Vimperator to get it.
Is there any Firefox extension which lets me follow links by hitting a key followed by the link text like in Conkeror?
There are many ways you can already use only the keyboard to browse with Firefox.
Searching pages
The find-as-you-type feature was an epiphany. While Google is great at getting you to the right web page, Firefox's find-as-you-type feature gets you the rest of the way.
Find as you type text: /
Find as you type link: '
Regular old find: Ctrl/Cmd+F
The link search is very useful, especially when used in conjunction with...
Opening pages
Unless you do all of your browsing in one page, these shortcuts are huge when you don't want to go running for your mouse.
Open link in new window: Shift+Enter
Open link in new tab: Ctrl/Cmd+Enter
Open address/search in new tab: Alt/Option+Enter
Used together with their respective shortcuts (address and search bar shortcuts and the find-as-you-type link shortcut), the page opening shortcuts go a long way toward mouse-less browsing.
Of course, you can also use the Mousless Browsing plugin.
Mouseless Browsing (MLB) enables you to browse the web entirely with the keyboard. The basic principle is to add small boxes with unique ids behind every link and/or form element. You just have to type in the id to trigger the corresponding action i.e. following a link, pressing a button or selecting a textfield...
There's Pentadactyl - and all firefox extensions work well with it.
https://addons.mozilla.org/en-US/firefox/addon/8781
Works even better with Linkification, I might add.

Firefox addon to open source file(s) in your favorite IDE

While developing a web application in Visual Studio, I want to be able to quickly open a source file (an xsl, a js, etc, not the "view source" result) in Visual Studio. My idea is to:
Write out http response headers (in debug mode), identifying the local files (c:...\bla.aspx) that helped build up the response
Read these http headers in FireBug to render them as clickable in a new tab
Make these clickable urls launch a an IDE (configurable) with certain parameters
I am pretty sure that this can be achieved using a combination of http headers, firebug and launchy. But I was wondering if anyone knows of an existing/easier way of achieving this?
For example Zend Studio toolbar.

Resources