Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Set focus to document window / Bookmark extension

New Here ,
Dec 30, 2006 Dec 30, 2006

Copy link to clipboard

Copied

Does anyone know of a way to set focus to a document window?

I've written an extension for Dreamweaver coders. It saves the current line/document so you can return to it later ("bookmark it"). It's a floater and I will be making it available shortly (unless someone's already written a decent one -- please let me know if that's the case). I wrote it to keep myself from getting lost when coding large files.

The issue is that when someone clicks the Go button on my floater, it returns the document to the correct position, but the focus is still on the floater. Does anyone know how I can set focus to either the code view or document windows?
TOPICS
Extensions

Views

468
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 30, 2006 Dec 30, 2006

Copy link to clipboard

Copied

> Does anyone know how I can set focus to either the code view or document
> windows?

dreamweaver.setActiveWindow() ?
or dom.setView() ?

Have a look in the JS API , Workspace > Window functions.

Good luck.



Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 17, 2007 Apr 17, 2007

Copy link to clipboard

Copied


Hey did you ever release this extension? I have been hoping for something like this in dw because I really used it in homesite+ with the ctrl+k shortcut. Please let me know.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 28, 2007 Jun 28, 2007

Copy link to clipboard

Copied

LATEST
Well, this is my request for a similar extension ... I used Textpad and live and die by the bookmark-this-line when editing code.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines