Fixed name highlighting

This commit is contained in:
Norbi Peti 2015-09-05 10:05:52 +02:00
parent 4cea49f0ad
commit 7a5d4ce0ff
12 changed files with 33 additions and 4 deletions

View file

@ -1530,3 +1530,28 @@ user global configuration and to define the default location to store repositori
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2015-09-05 09:20:53.186 -----------------------------------------------
eclipse.buildId=M20130204-1200
java.version=1.8.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=hu_HU
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
!ENTRY org.eclipse.core.resources 2 10035 2015-09-05 09:21:02.434
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
!ENTRY org.eclipse.egit.ui 2 0 2015-09-05 09:21:32.770
!MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level
Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in
this system level configuration. The Git installation location can be configured on the
Team > Git > Configuration preference page's 'System Settings' tab.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!ENTRY org.eclipse.egit.ui 2 0 2015-09-05 09:21:32.771
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\Norbi'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.

Binary file not shown.

Binary file not shown.

View file

@ -1,11 +1,11 @@
INDEX VERSION 1.126+D:\Z - Norbi cucca\0 Projektek\TheButtonMCAutoFlairProto\Spigot plugin\.metadata\.plugins\org.eclipse.jdt.core
1508644233.index
3656756579.index
3089967703.index
2674037006.index
323251068.index
355369697.index
1934142626.index
3716007315.index
1934142626.index
1045485630.index
605290374.index
533208796.index
@ -21,5 +21,5 @@ INDEX VERSION 1.126+D:\Z - Norbi cucca\0 Projektek\TheButtonMCAutoFlairProto\Spi
3954291735.index
994834796.index
3604769962.index
1508644233.index
3045053200.index
3656756579.index

View file

@ -33,4 +33,5 @@
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1441290612782_30" label="Window Working Set" name="Aggregate for window 1441290612782"/>
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1441312104859_31" label="Window Working Set" name="Aggregate for window 1441312104859"/>
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1441368050144_32" label="Window Working Set" name="Aggregate for window 1441368050143"/>
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1441437688140_33" label="Window Working Set" name="Aggregate for window 1441437688139"/>
</workingSetManager>

Binary file not shown.

View file

@ -149,7 +149,7 @@ public class PlayerListener implements Listener { // 2015.07.16.
}
for (String n : nicknames.keySet()) {
Player p = null;
String nwithoutformatting = n;
String nwithoutformatting = new String(n);
int index;
// System.out.println("n: " + n);
while ((index = nwithoutformatting.indexOf('§')) != -1)
@ -180,6 +180,9 @@ public class PlayerListener implements Listener { // 2015.07.16.
* event.getFormat().indexOf("<") + 1, event.getFormat().indexOf(">")) +
* flair + "> " + message); // 2015.08.08.
*/
event.setMessage(message); //2015.09.05.
event.setFormat(event
.getFormat()
.replace(