Author Topic: Fixed line/columns  (Read 3226 times)

Offline plazmon

  • Newbie
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Fixed line/columns
« on: April 23, 2015, 02:05:40 pm »
I would like to see the following futures in HE: I want to have possibility to fix some lines at the top and/or rows at the left, so that when one scrolls a text these lines/columns remain always visible.

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2172
  • Karma: +37/-3
    • View Profile
    • HippoEDIT
Re: Fixed line/columns
« Reply #1 on: April 23, 2015, 05:46:50 pm »
And what about using window splitter? :
http://wiki.hippoedit.com/view/split

Than you can scroll one view having others fixed in some position.

Offline plazmon

  • Newbie
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Fixed line/columns
« Reply #2 on: April 24, 2015, 03:48:55 pm »
Hi Alex
Yes, indeed, this is what I need. A lot of interesting and useful things have HE
Thank you
« Last Edit: April 24, 2015, 04:16:54 pm by plazmon »

Offline plazmon

  • Newbie
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Fixed line/columns
« Reply #3 on: May 26, 2015, 03:22:39 pm »
Hi Alex!
The window splitter is great thing, but upon closer examination it turned out that it was not that I'd want. I would like to be able to scroll the text in the top / bottom (left / right) parts at the same time.

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2172
  • Karma: +37/-3
    • View Profile
    • HippoEDIT
Re: Fixed line/columns
« Reply #4 on: May 28, 2015, 01:44:56 pm »
Put cursor at that view which you want to scroll, or scroll it with mouse wheel over the view or with Ctrl + Down / Ctrl + Up.

Offline plazmon

  • Newbie
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Fixed line/columns
« Reply #5 on: May 29, 2015, 01:42:14 pm »
Hi Alex!
I know how to scroll text, thank you!  :)
But I want that the text in both views scrolls SIMULTANEOUSLY like in a program for text compare. Even MS Word have option "synchronise scroll"

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2172
  • Karma: +37/-3
    • View Profile
    • HippoEDIT
Re: Fixed line/columns
« Reply #6 on: May 30, 2015, 12:53:36 am »
Hi,

looks like now your request moved away from initial requirement ;)

Can you please describe the use case for this feature?
- Do you want to scroll simultaneously views of same document or views of different documents?
- How scroll of views with different line count shall be working? 
- How to find this in "even MS Word" ;) ? Have not found it.

I am afraid feature of simultaneous scroll is not available in HE currently and not planned for minor updates. To implement this properly (fex as in NP++), it would be needed not only simultaneous scroll feature but also feature for displaying views/tabs in groups.

But there is as always workaround, which may help you but would require your efforts :) -> Plugin.
- HE supports multi document interface, that may allow you to put several document side by side.
- You will need a registration command for subscribing document/view for simultaneous scroll
- You register on onScroll Event of views
- onScroll event of one of subscribed views/documents you need to rise scroll in other subscribed document/views
- as usual, I will help, if plugin at the end would be published ;)

BR, Alex.
P.S: BTW, scrolling of several  views with same scroll bar not synchronously is not very obvious, so this is why I have gave you the guideline with scrolling of focused view ;)   
« Last Edit: May 30, 2015, 12:56:24 am by alex »

Offline plazmon

  • Newbie
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Fixed line/columns
« Reply #7 on: June 02, 2015, 05:10:47 pm »
Hi,

looks like now your request moved away from initial requirement ;)

Can you please describe the use case for this feature?
- Do you want to scroll simultaneously views of same document or views of different documents?
- How scroll of views with different line count shall be working? 
- How to find this in "even MS Word" ;) ? Have not found it.

I am afraid feature of simultaneous scroll is not available in HE currently and not planned for minor updates. To implement this properly (fex as in NP++), it would be needed not only simultaneous scroll feature but also feature for displaying views/tabs in groups.

But there is as always workaround, which may help you but would require your efforts :) -> Plugin.
- HE supports multi document interface, that may allow you to put several document side by side.
- You will need a registration command for subscribing document/view for simultaneous scroll
- You register on onScroll Event of views
- onScroll event of one of subscribed views/documents you need to rise scroll in other subscribed document/views
- as usual, I will help, if plugin at the end would be published ;)

BR, Alex.
P.S: BTW, scrolling of several  views with same scroll bar not synchronously is not very obvious, so this is why I have gave you the guideline with scrolling of focused view ;)

My wishes don't change from the beginning, it's due to my poor English.
Yes I want to scroll views of the same document. I'll try to explain my use case :). I have a very big table with captions of rows and columns, and try to fixe some line and columns so that the caption remain visible while scrolling the main body of data.
How to scroll different documents it is a question. Utilits for files compare try to find similar lines and show them together. But the simplest way which is implemented in some editors is one-to-one: if in the first view text scroll one line/position then in other scroll the same amount and direction.
I have russian MS Word and there on the tab "view"(Вид) if select button "together"(рядом) and position two windows with documents one may select synchronous scrolling (синхронная прокрутка)

I am not waiting to get this feature in a minor update, just to give a direction for improvement.
Plagin is great, but need time to seize inner world of HE
The absent of additional scrollbars with many views as for me is advantage and is not very unobvious, but it whould be nice to have some visual distinction for the view which has focus.

Thank you for your attantion!

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2172
  • Karma: +37/-3
    • View Profile
    • HippoEDIT
Re: Fixed line/columns
« Reply #8 on: June 02, 2015, 05:46:41 pm »
This is how I imagine your example (see image below). Why this foes not fit? What shall you scroll simultaneously?


I have also attached the example file * table.txt (7.93 kB - downloaded 369 times.)

Offline plazmon

  • Newbie
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Fixed line/columns
« Reply #9 on: June 03, 2015, 11:48:36 am »
I have more than 7 columns for example:
ila_rendered
And I want to see values for different time and for different spices and be in the know what I am looking at :)

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2172
  • Karma: +37/-3
    • View Profile
    • HippoEDIT
Re: Fixed line/columns
« Reply #10 on: June 04, 2015, 05:05:57 pm »
OK, now I see. Yes, it make sense for your use case.
Checked also MS Word - I do not think that you can realize that easy with it. Its really more to sync different documents.

I have not planned to develop such feature in the near future, but for single document may do. It is still not easy, while shall be developed scrolling, persistence of the flag for single document + settings of the feature for specific syntax (may be, not see to much sense, but it is like for other display flags). I will do it for next major, if you will also do something for HE ;) :
- develop+publish+maintain useful plugin. You may use your xbrackets but in extended form, like by AkelPad ;). That also gives you HE license.
- document usage of the feature in wiki, based on you example. Something like "How to handle big tables in HippoEDIT"

BR, Alex.

Offline plazmon

  • Newbie
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Fixed line/columns
« Reply #11 on: July 01, 2015, 05:52:28 pm »
Alex!
I just have been looking through my big tables and have found that HE support simultaneous scrolling just as I want.  What I need to get such effect is just split windows and do not place 'caret' in any place.
As for my contribute to HE I neither wrote any scripts and also never write wiki? but I'll try
Thank you for your work

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2172
  • Karma: +37/-3
    • View Profile
    • HippoEDIT
Re: Fixed line/columns
« Reply #12 on: July 01, 2015, 11:44:02 pm »
Works only with scroll bars. With mouse wheel still scrolled only view under mouse cursor.
With scrolling of both views simultaneously, in other situation, I will treat it as a bug, but now, let us leave it in as a feature ;)
Actually works rather logically :)

BR, Alex

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
1820 Views
Last post December 11, 2008, 12:01:33 pm
by alex
1 Replies
1377 Views
Last post April 20, 2009, 10:53:50 pm
by alex
1 Replies
2175 Views
Last post September 27, 2009, 07:58:59 pm
by Stefan
1 Replies
2026 Views
Last post October 21, 2010, 02:22:24 pm
by alex
2 Replies
1788 Views
Last post November 19, 2010, 03:53:45 pm
by scunliffe