Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.sci.electronics > #305331

Re: Atom Editor

From Arno Welzel <usenet@arnowelzel.de>
Newsgroups de.sci.electronics
Subject Re: Atom Editor
Date 2021-05-24 03:49 +0200
Message-ID <ih0f1oFpg3eU1@mid.individual.net> (permalink)
References <igmvcrFu2tmU1@mid.individual.net> <igq96uFjidqU1@mid.individual.net> <igs1ufFtrooU2@mid.individual.net> <s8alot$vmt$1@solani.org> <igs5deFtrooU3@mid.individual.net>

Show all headers | View raw


Eric Bruecklmeier:

> Am 22.05.2021 um 12:18 schrieb Hartmut Kraus:
>> Am 22.05.2021 um 11:41 schrieb Eric Bruecklmeier:
>>> Am 21.05.2021 um 19:33 schrieb Arno Welzel:
>>>> Eric Bruecklmeier:
>>>>
>>>>> Ich frag mal hier nach, auch wenn es etwas off topic ist ;-)
>>>>>
>>>>> Hat jemand eine Idee, wie man den farbig formatierten Sourcecode aus
>>>>> einem Editor (hier Atom) incl. der Farben als Text kopieren kann? 
>>>>> OS: W10
>>>>
>>>> "Als Text" - gar nicht. Denn "Text" enthält keine Angaben für Farben.
>>>>
>>>
>>> Doch natürlich, es hängt schlicht vom Format ab, in dem der Text 
>>> codiert ist.
>>
>> Nein, von der Syntax. Daran erkennt der Editor, um welche Sprache es 
>> sich bei dem (Quell-) TEXT handelt. Oder auch nicht - wenn er sie eben 
>> nicht kennt.
>>
> 
> BS!
> 
> Ob "Text" eine bestimmte Eigenschaft haben kann oder nicht, hängt 
> schlicht und ergreifend von dessen Codierung ab. Eine abstrakte 

"Codierung" hat damit exakt GAR NICHTS zu tun.

Was Du meinst, ist *Syntax*, z.B. die von CSS. So kann man mit CSS einen
Textabschnitt einfärben und ein Browser wird das *interpretieren* und
entsprechend darstellen.

Atom baut auf Electron auf und benutzt intern auch CSS und HTML, um die
Oberfläche darzustellen. Und auch der Editor wird *intern* genau diese
Mittel nutzen, um das Syntax-Highlighting zu realisieren.

Dennoch ändert es nichts daran, dass der im Editor geladene Text keine
Angaben für Farben hat, sondern Atom benutzt Farben, um die SYNTAX des
Textes hervorzuheben.

Was Du eigentlich willst, ist nicht den TEXT zu kopieren, sondern das,
was Atom intern benutzt, um den Text farbig darzustellen.



-- 
Arno Welzel
https://arnowelzel.de

Back to de.sci.electronics | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Atom Editor Eric Bruecklmeier <nil@nil.nil> - 2021-05-20 13:27 +0200
  Re: Atom Editor Thorsten Böttcher <thorsten_nospam@gmx.net> - 2021-05-20 13:43 +0200
    Re: Atom Editor Hans-Peter Diettrich <DrDiettrich1@aol.com> - 2021-05-20 16:57 +0200
  Re: Atom Editor Helmut Schellong <rip@schellong.biz> - 2021-05-20 15:06 +0200
  Re: Atom Editor Joerg Niggemeyer <joerg.niggemeyer@nucon.de> - 2021-05-20 17:35 +0200
    Re: Atom Editor Eric Bruecklmeier <nil@nil.nil> - 2021-05-20 17:40 +0200
      Re: Atom Editor Joerg Niggemeyer <joerg.niggemeyer@nucon.de> - 2021-05-20 17:59 +0200
        Re: Atom Editor Ole Jansen <remove.this.kaspernasebaer@gmx.de> - 2021-05-21 11:06 +0200
          Re: Atom Editor Gerrit Heitsch <gerrit@laosinh.s.bawue.de> - 2021-05-21 11:48 +0200
            Re: Atom Editor Ole Jansen <remove.this.kaspernasebaer@gmx.de> - 2021-05-21 13:12 +0200
              Re: Atom Editor Gerrit Heitsch <gerrit@laosinh.s.bawue.de> - 2021-05-21 13:25 +0200
              Re: Atom Editor Axel Berger <Spam@Berger-Odenthal.De> - 2021-05-21 13:38 +0200
                Re: Atom Editor Rolf Bombach <rolfnospambombach@invalid.invalid> - 2021-05-21 18:57 +0200
                Re: Atom Editor Sebastin Wolf <invaild@invaild.net> - 2021-05-21 19:21 +0200
                Re: Atom Editor Ole Jansen <remove.this.kaspernasebaer@gmx.de> - 2021-05-25 10:09 +0200
                Re: Atom Editor Reinhardt Behm <rbehm@hushmail.com> - 2021-05-30 19:54 +0800
                Re: Atom Editor Gerrit Heitsch <gerrit@laosinh.s.bawue.de> - 2021-05-31 16:51 +0200
                Re: Atom Editor Gerrit Heitsch <gerrit@laosinh.s.bawue.de> - 2021-06-01 09:50 +0200
                Re: Atom Editor Gerrit Heitsch <gerrit@laosinh.s.bawue.de> - 2021-06-01 11:04 +0200
                Re: Atom Editor Sebastin Wolf <invaild@invaild.net> - 2021-06-01 15:20 +0200
                Re: Atom Editor Gerrit Heitsch <gerrit@laosinh.s.bawue.de> - 2021-06-01 13:44 +0200
                Re: Atom Editor Volker Bartheld <news2020@bartheld.net> - 2021-06-01 17:24 +0200
                Re: Atom Editor Hanno Foest <hurga-news2@tigress.com> - 2021-06-01 13:41 +0200
                Re: Atom Editor Ole Jansen <remove.this.kaspernasebaer@gmx.de> - 2021-06-01 15:51 +0200
                Re: Atom Editor Volker Bartheld <news2020@bartheld.net> - 2021-06-01 16:38 +0200
                Re: Atom Editor Ole Jansen <remove.this.kaspernasebaer@gmx.de> - 2021-06-02 07:47 +0200
                Re: Atom Editor Volker Bartheld <news2020@bartheld.net> - 2021-06-01 15:13 +0200
                Re: Atom Editor Hanno Foest <hurga-news2@tigress.com> - 2021-06-01 16:12 +0200
                Re: Atom Editor Gerrit Heitsch <gerrit@laosinh.s.bawue.de> - 2021-06-19 18:01 +0200
                Re: Atom Editor Gerrit Heitsch <gerrit@laosinh.s.bawue.de> - 2021-06-19 19:32 +0200
                Re: Atom Editor Arno Welzel <usenet@arnowelzel.de> - 2021-06-20 12:40 +0200
  Re: Atom Editor Volker Staben <volker.staben@hs-flensburg.de> - 2021-05-20 17:57 +0200
    Re: Atom Editor Eric Bruecklmeier <nil@nil.nil> - 2021-05-20 18:03 +0200
  Re: Atom Editor Arno Welzel <usenet@arnowelzel.de> - 2021-05-21 19:33 +0200
    Re: Atom Editor Eric Bruecklmeier <nil@nil.nil> - 2021-05-22 11:41 +0200
      Re: Atom Editor Hartmut Kraus <hartmut.melina@web.de> - 2021-05-22 12:18 +0200
        Re: Atom Editor Eric Bruecklmeier <nil@nil.nil> - 2021-05-22 12:40 +0200
          Re: Atom Editor Hartmut Kraus <hartmut.melina@web.de> - 2021-05-22 13:07 +0200
            Re: Atom Editor Eric Bruecklmeier <nil@nil.nil> - 2021-05-22 13:21 +0200
              Re: Atom Editor Hartmut Kraus <hartmut.melina@web.de> - 2021-05-22 13:42 +0200
          Re: Atom Editor Arno Welzel <usenet@arnowelzel.de> - 2021-05-24 03:49 +0200
            Re: Atom Editor Helmut Schellong <rip@schellong.biz> - 2021-05-27 12:20 +0200
            Re: Atom Editor Eric Bruecklmeier <nil@nil.nil> - 2021-05-24 10:29 +0200
              Re: Atom Editor Andreas Fecht <forum@aftec.de> - 2021-05-24 11:54 +0200
                Re: Atom Editor "Wolfgang Allinger" <all2001@spambog.com> - 2021-05-24 07:18 -0400
              Re: Atom Editor Arno Welzel <usenet@arnowelzel.de> - 2021-05-24 12:10 +0200
                Re: Atom Editor Eric Bruecklmeier <nil@nil.nil> - 2021-05-24 12:14 +0200
                Re: Atom Editor Sebastin Wolf <invaild@invaild.net> - 2021-05-24 12:23 +0200
                Re: Atom Editor Hanno Foest <hurga-news2@tigress.com> - 2021-05-25 00:09 +0200
                Re: Atom Editor Arno Welzel <usenet@arnowelzel.de> - 2021-05-24 14:02 +0200
                Re: Atom Editor Eric Bruecklmeier <nil@nil.nil> - 2021-05-24 14:17 +0200
                Re: Atom Editor Arno Welzel <usenet@arnowelzel.de> - 2021-05-24 14:43 +0200
                Re: Atom Editor Eric Bruecklmeier <nil@nil.nil> - 2021-05-24 14:48 +0200
                Re: Atom Editor Axel Berger <Spam@Berger-Odenthal.De> - 2021-05-24 15:07 +0200
                Re: Atom Editor Eric Bruecklmeier <nil@nil.nil> - 2021-05-24 15:13 +0200
                Re: Atom Editor Axel Berger <Spam@Berger-Odenthal.De> - 2021-05-24 17:24 +0200
                Re: Atom Editor Hanno Foest <hurga-news2@tigress.com> - 2021-05-25 00:10 +0200
                Re: Atom Editor Rupert Haselbeck <mein-rest-muell@gmx.de> - 2021-05-24 13:20 +0200
                Re: Atom Editor Arno Welzel <usenet@arnowelzel.de> - 2021-05-24 14:11 +0200
                Re: Atom Editor Helmut Schellong <rip@schellong.biz> - 2021-05-24 15:05 +0200
                Re: Atom Editor Helmut Schellong <rip@schellong.biz> - 2021-05-26 15:54 +0200
                Re: Atom Editor Sebastin Wolf <invaild@invaild.net> - 2021-05-26 15:57 +0200
      Re: Atom Editor Helmut Schellong <rip@schellong.biz> - 2021-05-22 14:13 +0200
        Re: Atom Editor Eric Bruecklmeier <nil@nil.nil> - 2021-05-22 14:33 +0200
          Re: Atom Editor Enrik Berkhan <Enrik.Berkhan@inka.de> - 2021-05-22 14:27 +0000
            Re: Atom Editor Eric Bruecklmeier <nil@nil.nil> - 2021-05-22 17:33 +0200
            Re: Atom Editor Hartmut Kraus <hartmut.melina@web.de> - 2021-05-22 20:06 +0200
              Re: Atom Editor Helmut Schellong <rip@schellong.biz> - 2021-05-22 21:24 +0200
                Re: Atom Editor Hartmut Kraus <hartmut.melina@web.de> - 2021-05-23 00:30 +0200
                Re: Atom Editor Helmut Schellong <rip@schellong.biz> - 2021-05-23 11:46 +0200
                Re: Atom Editor Eric Bruecklmeier <nil@nil.nil> - 2021-05-23 10:47 +0200
                Re: Atom Editor Helmut Schellong <rip@schellong.biz> - 2021-05-23 12:08 +0200
                Re: Atom Editor Sebastin Wolf <invaild@invaild.net> - 2021-05-23 12:10 +0200
                Re: Atom Editor Helmut Schellong <rip@schellong.biz> - 2021-05-23 12:48 +0200
                Re: Atom Editor Sebastin Wolf <invaild@invaild.net> - 2021-05-23 13:15 +0200
                Re: Atom Editor Helmut Schellong <rip@schellong.biz> - 2021-05-23 20:01 +0200
                Re: Atom Editor Hartmut Kraus <hartmut.melina@web.de> - 2021-05-23 20:16 +0200
                Re: Atom Editor Helmut Schellong <rip@schellong.biz> - 2021-05-23 20:41 +0200
                Re: Atom Editor Hartmut Kraus <hartmut.melina@web.de> - 2021-05-23 21:59 +0200
                Re: Atom Editor Helmut Schellong <rip@schellong.biz> - 2021-05-23 22:23 +0200
                Re: Atom Editor Hartmut Kraus <hartmut.melina@web.de> - 2021-05-23 12:50 +0200
                Re: Atom Editor Helmut Schellong <rip@schellong.biz> - 2021-05-27 12:38 +0200
                Re: Atom Editor Hergen Lehmann <hlehmann.expires.5-11@snafu.de> - 2021-05-27 13:30 +0200
                Re: Atom Editor Rolf Bombach <rolfnospambombach@invalid.invalid> - 2021-06-13 23:49 +0200
                Re: Atom Editor Arno Welzel <usenet@arnowelzel.de> - 2021-05-24 04:30 +0200
                Re: Atom Editor Helmut Schellong <rip@schellong.biz> - 2021-05-24 12:30 +0200
                Re: Atom Editor Arno Welzel <usenet@arnowelzel.de> - 2021-05-24 14:35 +0200
                Re: Atom Editor Helmut Schellong <rip@schellong.biz> - 2021-05-24 15:50 +0200
                Re: Atom Editor Helmut Schellong <rip@schellong.biz> - 2021-05-26 13:58 +0200
                Re: Atom Editor Sebastin Wolf <invaild@invaild.net> - 2021-05-26 14:17 +0200
                Re: Atom Editor Helmut Schellong <rip@schellong.biz> - 2021-05-26 16:28 +0200
                Re: Atom Editor Helmut Schellong <rip@schellong.biz> - 2021-05-26 16:07 +0200
                Re: Atom Editor Helmut Schellong <rip@schellong.biz> - 2021-05-22 22:13 +0200
                Re: Atom Editor Hartmut Kraus <hartmut.melina@web.de> - 2021-05-22 21:57 +0200
              Re: Atom Editor Eric Bruecklmeier <nil@nil.nil> - 2021-05-23 10:00 +0200
              Re: Atom Editor Eric Bruecklmeier <nil@nil.nil> - 2021-05-23 09:59 +0200
              Re: Atom Editor Hergen Lehmann <hlehmann.expires.5-11@snafu.de> - 2021-05-22 21:59 +0200
              Re: Atom Editor Hergen Lehmann <hlehmann.expires.5-11@snafu.de> - 2021-05-22 20:47 +0200
                Re: Atom Editor Gerrit Heitsch <gerrit@laosinh.s.bawue.de> - 2021-05-22 21:13 +0200
                Re: Atom Editor Hartmut Kraus <hartmut.melina@web.de> - 2021-05-22 21:53 +0200
            Re: Atom Editor Hanno Foest <hurga-news2@tigress.com> - 2021-05-23 20:51 +0200
              Re: Atom Editor Eric Bruecklmeier <nil@nil.nil> - 2021-05-24 10:59 +0200
                Re: Atom Editor Hartmut Kraus <hartmut.melina@web.de> - 2021-05-24 11:07 +0200
          Re: Atom Editor Helmut Schellong <rip@schellong.biz> - 2021-05-22 15:26 +0200
            Re: Atom Editor Eric Bruecklmeier <nil@nil.nil> - 2021-05-22 15:31 +0200
      Re: Atom Editor Arno Welzel <usenet@arnowelzel.de> - 2021-05-24 03:43 +0200
        Re: Atom Editor Eric Bruecklmeier <nil@nil.nil> - 2021-05-24 10:33 +0200
          Re: Atom Editor Arno Welzel <usenet@arnowelzel.de> - 2021-05-24 13:50 +0200
            Re: Atom Editor Eric Bruecklmeier <nil@nil.nil> - 2021-05-24 13:56 +0200
              Re: Atom Editor Arno Welzel <usenet@arnowelzel.de> - 2021-05-24 14:38 +0200
  Re: Atom Editor "Michael S." <michaely@bigfoot.de> - 2021-05-23 08:16 +0200

csiph-web