HippoEDIT homepage Welcome, Guest. Please login or register.
September 10, 2010, 09:00:57 pm
Home Help Search Login Register

+  HippoEDIT - Programmers text editor
|-+  General Category
| |-+  FAQ (Moderators: alex, Stefan)
| | |-+  HowTo clear "Changed Lines" markers during an session
« previous next »
Pages: [1] Print
Author Topic: HowTo clear "Changed Lines" markers during an session  (Read 358 times)
Stefan
Administrator
Hero Member
*****

Karma: +6/-0
Offline Offline

Posts: 684



View Profile
« on: September 30, 2009, 10:59:31 pm »

HowTo clear "Changed Lines" markers during an session


Hi Alex

we have "View > Editor > Changed Lines"
to get an visible marker on the left side
which indicates line(s) that where modified during the current session. Fine.


Question:
Is there an option to clear this "Changed Indicator"  and "Changed and Saved Indicator"?

So i would see then only recently new  modified lines again,
and not all modified since first start of modifications?


Because if i work some time with an document
most of the lines get "changed" and so the sense of this great feature get backwards.

One way to get rid of the color is to save and reload... but how without saving? (because i am in the middle of modification)

Logged

Stefan, HippoEDIT beta tester  (HippoEDIT News On Twitter: http://twitter.com/hippoedit/)
alex
Developer
Global Moderator
Hero Member
*****

Karma: +19/-2
Online Online

Gender: Male
Posts: 1336



View Profile WWW
« Reply #1 on: October 01, 2009, 03:31:53 pm »

Hi,

there is only one way, and you have already mentioned it. Save + Reload = Ctrl-S + F5.
And this is not too much Wink

And I do not think that I would change it: because Saved/Modified indicators is not a just simple markers but part of the undo information. So you could not just simply reset them - then you could not keep consistency during Undo. So they are cleaned, when Undo is cleaned. So there is another way, just to Reset Undo queue, but this is mostly same as reload.

Best regards,
Alex.
Logged

Stefan
Administrator
Hero Member
*****

Karma: +6/-0
Offline Offline

Posts: 684



View Profile
« Reply #2 on: October 02, 2009, 07:32:45 am »

Thanks for clarifying Alex.

Moved to FAQ...
Logged

Stefan, HippoEDIT beta tester  (HippoEDIT News On Twitter: http://twitter.com/hippoedit/)
JJK
Full Member
***

Karma: +2/-0
Offline Offline

Posts: 145



View Profile
« Reply #3 on: October 02, 2009, 07:39:49 am »

Hi,

But what if I don't want to save ?
I find that Stefan's idea is useful, but without saving.
It should be independant of undo operations.

But if this is too much work, no worry. There are many other priorities !
Logged
alex
Developer
Global Moderator
Hero Member
*****

Karma: +19/-2
Online Online

Gender: Male
Posts: 1336



View Profile WWW
« Reply #4 on: October 03, 2009, 02:14:03 pm »

Hi JJK,

It can be done only with reseting Undo queue. Because every text change placed in Undo contains modified (difference) state of lines. To have possibility to undo these indicators as you do undo of your text changes.

So the easiest way to clean up Undo queue, but this is rather dangerous for user. 
More complex is to go through all undo queue and remove this information from there.
Ok, and most complex, but maybe most correct would be new undoable action which sets all lines to not modified and stores all in Undo queue.

Ok, I would think about this, because several users request this Wink

Best regards,
Alex.
Logged

Stefan
Administrator
Hero Member
*****

Karma: +6/-0
Offline Offline

Posts: 684



View Profile
« Reply #5 on: October 03, 2009, 04:21:24 pm »

Two are not enough "several users" to start another extra work  Wink
For me, i will try to use the save&reload thinggy.


Just brainstorming:
I am not experience enough to understand how is that coloring related to undo queue,
... i believe your words  ... but  can't you just turn this "Changed Indicator" --color to actual background color?

I mean i am not against the undo but just wanna clear the last changed-markers... to better see the next changes.
It is just the visible effect of this feature... not the back ground.

Yes, the user will lost the view of the last markers and didn't see anymore what he has modified,.. but he!, no one has to use this feature.


Anyway THX for an open ear  Grin
Logged

Stefan, HippoEDIT beta tester  (HippoEDIT News On Twitter: http://twitter.com/hippoedit/)
alex
Developer
Global Moderator
Hero Member
*****

Karma: +19/-2
Online Online

Gender: Male
Posts: 1336



View Profile WWW
« Reply #6 on: October 03, 2009, 10:46:03 pm »

No, this is not only visible effect.
It is property of line, and than visualized by background color for line numbers.
So, if I would just make style equal to default, you would not see changed lines at all.

Let us wait for stronger request on this, and then I can implement way 3 I mentioned before, with undoable action for removing changed lines attribute.
Logged

Pages: [1] Print 
« previous next »
Jump to:  


Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC