ENDCOLOR -- end colored text

  • ENDCOLOR is one of the shortcut macros predefined in DefaultPreferences. See the section shortcut macros in that topic for a complete list of shortcuts.
    Example:
    %GREEN% green text %ENDCOLOR%
    Expands to: green text

    ALERT! %<color>% text must end with %ENDCOLOR%. If you want to switch from one color to another one you first need to end the active color with %ENDCOLOR%, e.g. write
    %RED% some text %ENDCOLOR% %GREEN% more text %ENDCOLOR%
  • Related: Could not perform search. Error was: 'tempfile' can't be called as a method at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Sandbox.pm line 506. at /usr/share/perl5/vendor_perl/File/Temp.pm line 1006. File::Temp::tempfile('File::Temp', 'STDERR.13475.XXXXXXXXXX', 'DIR', '/www/sugpo223/cgi-bin/wiki/working/tmp', 'UNLINK', 0) called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Sandbox.pm line 506 Foswiki::Sandbox::sysCommand('Foswiki::Sandbox', '/bin/grep -E -l -H -- %TOKEN|U% %FILES|F%', 'TOKEN', '^%META:TOPICPARENT{.*\bname=\"StandardColors\"', 'FILES', 'ARRAY(0x242a3e0)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/SearchAlgorithms/Forking.pm line 109 Foswiki::Store::SearchAlgorithms::Forking::search('^%META:TOPICPARENT{.*\bname=\"StandardColors\"', 'System', 'Foswiki::Iterator::FilterIterator=HASH(0x2416cc8)', 'Foswiki=HASH(0x149baa0)', 'HASH(0x22b96f0)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/SearchAlgorithms/Forking.pm line 267 Foswiki::Store::SearchAlgorithms::Forking::_webQuery('Foswiki::Search::Node=HASH(0x23d5160)', 'System', 'Foswiki::Iterator::FilterIterator=HASH(0x2416cc8)', 'Foswiki=HASH(0x149baa0)', 'HASH(0x22b96f0)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/SearchAlgorithms/Forking.pm line 182 Foswiki::Store::SearchAlgorithms::Forking::query('Foswiki::Search::Node=HASH(0x23d5160)', 'Foswiki::Iterator::FilterIterator=HASH(0x2416cc8)', 'Foswiki=HASH(0x149baa0)', 'HASH(0x22b96f0)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/VC/Store.pm line 518 Foswiki::Store::VC::Store::query('Foswiki::Store::RcsLite=HASH(0x1508af8)', 'Foswiki::Search::Node=HASH(0x23d5160)', 'Foswiki::Iterator::FilterIterator=HASH(0x2416cc8)', 'Foswiki=HASH(0x149baa0)', 'HASH(0x22b96f0)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/VC/Store.pm line 470 Foswiki::Store::VC::Store::searchInWebMetaData('Foswiki::Store::RcsLite=HASH(0x1508af8)', 'Foswiki::Search::Node=HASH(0x23d5160)', 'System', 'Foswiki::Iterator::FilterIterator=HASH(0x2416cc8)', 'Foswiki=HASH(0x149baa0)', 'HASH(0x22b96f0)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/QueryAlgorithms/BruteForce.pm line 192 Foswiki::Store::QueryAlgorithms::BruteForce::_webQuery('Foswiki::Query::Node=HASH(0x23cfbf8)', 'System', undef, 'Foswiki=HASH(0x149baa0)', 'HASH(0x2338570)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/QueryAlgorithms/BruteForce.pm line 78 Foswiki::Store::QueryAlgorithms::BruteForce::query('Foswiki::Query::Node=HASH(0x23cfbf8)', undef, 'Foswiki=HASH(0x149baa0)', 'HASH(0x2338570)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/VC/Store.pm line 518 Foswiki::Store::VC::Store::query('Foswiki::Store::RcsLite=HASH(0x1508af8)', 'Foswiki::Query::Node=HASH(0x23cfbf8)', undef, 'Foswiki=HASH(0x149baa0)', 'HASH(0x2338570)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Meta.pm line 839 Foswiki::Meta::query('Foswiki::Query::Node=HASH(0x23cfbf8)', undef, 'HASH(0x2338570)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Search.pm line 352 Foswiki::Search::searchWeb('Foswiki::Search=HASH(0x22a93f0)', 'search', 'parent.name=\'StandardColors\'', 'basetopic', 'VarENDCOLOR', '_RAW', '\x{a} "parent.name=\'StandardColors\'"\x{a} type="query"\x{a} exclu...', 'nonoise', 'on', ...) called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Macros/SEARCH.pm line 32 Foswiki::__ANON__() called at /usr/share/perl5/vendor_perl/Error.pm line 419 eval {...} called at /usr/share/perl5/vendor_perl/Error.pm line 411 Error::subs::try('CODE(0x2283a80)', 'HASH(0x2290bc8)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Macros/SEARCH.pm line 41 Foswiki::SEARCH('Foswiki=HASH(0x149baa0)', 'Foswiki::Attrs=HASH(0x2283b58)', 'Foswiki::Meta=HASH(0x1da5c58)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3145 Foswiki::_expandMacroOnTopicRendering('Foswiki=HASH(0x149baa0)', 'SEARCH', '\x{a} "parent.name=\'StandardColors\'"\x{a} type="query"\x{a} exclu...', 'Foswiki::Meta=HASH(0x1da5c58)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3021 Foswiki::_processMacros('Foswiki=HASH(0x149baa0)', '%STARTINCLUDE%\x{a}#VarENDCOLOR\x{a}---+++ ENDCOLOR -- end colored te...', 'CODE(0x13fc370)', 'Foswiki::Meta=HASH(0x1da5c58)', 16) called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 2818 Foswiki::innerExpandMacros('Foswiki=HASH(0x149baa0)', 'SCALAR(0x140b5c8)', 'Foswiki::Meta=HASH(0x1da5c58)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3327 Foswiki::expandMacros('Foswiki=HASH(0x149baa0)', '%STARTINCLUDE%\x{a}#VarENDCOLOR\x{a}---+++ ENDCOLOR -- end colored te...', 'Foswiki::Meta=HASH(0x1da5c58)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Meta.pm line 3103 Foswiki::Meta::expandMacros('Foswiki::Meta=HASH(0x1da5c58)', '%STARTINCLUDE%\x{a}#VarENDCOLOR\x{a}---+++ ENDCOLOR -- end colored te...') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/UI/View.pm line 412 Foswiki::UI::View::_prepare('%STARTINCLUDE%\x{a}#VarENDCOLOR\x{a}---+++ ENDCOLOR -- end colored te...', 'Foswiki::Meta=HASH(0x1da5c58)', 0) called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/UI/View.pm line 392 Foswiki::UI::View::view('Foswiki=HASH(0x149baa0)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/UI.pm line 316 Foswiki::UI::__ANON__() called at /usr/share/perl5/vendor_perl/Error.pm line 419 eval {...} called at /usr/share/perl5/vendor_perl/Error.pm line 411 Error::subs::try('CODE(0xad5c30)', 'HASH(0x149b680)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/UI.pm line 435 Foswiki::UI::_execute('Foswiki::Request=HASH(0x1475230)', 'CODE(0x1474d80)', 'view', 1) called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/UI.pm line 274 Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x1475230)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Engine/CGI.pm line 41 Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0xe22a30)') called
, DefaultPreferences, StandardColors

%STARTSECTION{"varcolor"}%
#Var%color%
---+++ %color% -- start %CALC{"$LOWER(%color%)"}% colored text
   * =%color%= is one of the shortcut macros predefined in DefaultPreferences.  See the section [[DefaultPreferences#RenderingShortcuts][shortcut macros]] in that topic for a complete list of colors.<br/>
   *Example:*
   <pre class="tml">%<nop>%color%% %CALC{"$LOWER(%color%)"}% text %<nop>ENDCOLOR%</pre>
   *Expands to:* %%color%% %CALC{"$LOWER(%color%)"}% text %ENDCOLOR%
   %STARTSECTION{"remember"}%<p></p><blockquote class="foswikiHelp">%X% =%&lt;color&gt;%= text must end with =%<nop>ENDCOLOR%=. If you want to switch from one color to another one you first need to end the active color with =%<nop>ENDCOLOR%=, e.g. write <pre class="tml">%<nop>RED% some text %<nop>ENDCOLOR% %<nop>GREEN% more text %<nop>ENDCOLOR%</pre></blockquote>%ENDSECTION{"remember"}%
*Related:* [[%IF{"'%includingtopic%'='Macros'" then="#"}%VarENDCOLOR][ENDCOLOR]], [[DefaultPreferences#RenderingShortcuts][DefaultPreferences]], StandardColors
<!--%JQREQUIRE{"chili"}%-->%ENDSECTION{"varcolor"}%
Topic revision: r1 - 20 Sep 2010, ProjectContributor
 

This site is powered by FoswikiCopyright &© by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Psychologie Kiel? Send feedback