Page 1 of 2

Should we remove underlines for all links?

Posted: Sat Feb 13, 2016 1:30 am
by Ivan Denisov
Modern design style not using underline for links, so Helmut is suggesting to remove underlines from BlackBox links.

Do you agree with him, should we make BlackBox lead the modern interface design trends?

Also we can make links underlined after cursor pointed to link text.

Re: Should we remove underlines for all links?

Posted: Sat Feb 13, 2016 6:18 am
by Zinn
I have click on the wrong button. Why can't I correct it?
- Helmut

Re: Should we remove underlines for all links?

Posted: Sat Feb 13, 2016 6:37 am
by Ivan Denisov
Zinn wrote:I have click on the wrong button. Why can't I correct it?
I forgot to enable this checkbox when creating the poll. Now fixed. Sorry for inconvenience.

Re: Should we remove underlines for all links?

Posted: Sat Feb 13, 2016 10:24 am
by Robert
I have millions of links in my private sets of Documents & Maps.

There must be thousands in the framework set (eg Dev\Docu\Selectors).

To keep a consistent look we must update them all at once.

Does someone have a tool which will do this automatically?

Even if we run this tool, how do we update the Redmine / GitHub tools consistently?

Robert

Re: Should we remove underlines for all links?

Posted: Sat Feb 13, 2016 10:30 am
by Robert
Ivan Denisov wrote:Also we can make links underlined after cursor pointed to link text.
Don you mean this as a question "Can we ... ?", or as an answer?

How does this statement affect the question we are asked to vote on?

I can imagine a separate vote: "We can easily and efficiently make links, and the cursor shape, respond to the cursor position - details to be provided. Do we choose to implement this behaviour?".

Re: Should we remove underlines for all links?

Posted: Sat Feb 13, 2016 6:44 pm
by Ivan Denisov
This procedure is removing all underline style in links of open document.

Code: Select all

MODULE ToolsLinks;

	IMPORT TextMappers, TextModels, TextControllers, Fonts, StdLinks;

	PROCEDURE RemoveUnderline*;
	VAR c: TextControllers.Controller; beg: INTEGER; ch: CHAR;
		s: TextMappers.Scanner;
		atr, new: TextModels.Attributes;
		rd: TextModels.Reader;
		left: BOOLEAN;
	BEGIN
		c := TextControllers.Focus();
		IF c # NIL THEN
			rd := c.text.NewReader(NIL);
			s.ConnectTo(c.text);
			s.SetOpts({TextMappers.returnViews});
			s.SetPos(0);
			s.Scan;
			left := FALSE;
			WHILE s.type # TextMappers.eot DO
				IF s.type = TextMappers.view THEN
					IF s.view IS StdLinks.Link THEN
						IF s.view(StdLinks.Link).leftSide THEN
							beg := s.start + 1;
							rd.SetPos(s.start + 1);
							rd.ReadChar(ch);
							atr := rd.attr;
							new := TextModels.NewStyle(atr, atr.font.style - {Fonts.underline});
							left := TRUE
						ELSIF left THEN
							c.text.SetAttr(beg, s.start, new);
							left := FALSE
						END
					END
				END;
				s.Scan
			END
		END
	END RemoveUnderline;

END ToolsLinks.

Re: Should we remove underlines for all links?

Posted: Sat Feb 13, 2016 6:46 pm
by Ivan Denisov
Robert wrote:How does this statement affect the question we are asked to vote on?
This poll is not voting, but some discussion. So this is only my view, how I see the alternative.

Re: Should we remove underlines for all links?

Posted: Sun Feb 14, 2016 10:05 pm
by DGDanforth
So are we assuming that links are distinguished only by their color?

I installed ToolsLinks on my machine and applied RemoveUnderline to one of my tools.
Works as advertised.
Looks different (of course).
Not sure I like it (yet).
-Doug

Re: Should we remove underlines for all links?

Posted: Sun Feb 14, 2016 10:06 pm
by DGDanforth
Modern design style not using underline for links
Do you have any documentation to support that claim?

-Doug

Re: Should we remove underlines for all links?

Posted: Mon Feb 15, 2016 2:38 am
by Ivan Denisov
DGDanforth wrote:
Modern design style not using underline for links
Do you have any documentation to support that claim?
http://www.theverge.com/2014/3/13/55038 ... e-redesign

Websites without underline for links:
http://blackboxframework.org/
http://wikipedia.org/
http://google.com/
http://github.com/
http://theguardian.com/
http://stackoverflow.com/
http://microsoft.com/
http://ubuntu.com/
...