Slightly simplify EditorHeader tab selection menu items
Slightly simplify EditorHeader tab selection menu items

Previously, this would use a single ActionListener object, and pass the
filename of the file to switch to in the action command. This means that
whenever switching the filename needs to be looked up. This commit
instead uses a lambda to capture the index of the tab to switch to for
every tab (so it uses a different ActionListener for each tab).

Chris--A/Arduino,me-no-dev/Arduino-1,NicoHood/Arduino,bsmr-arduino/Arduino,Chris--A/Arduino,PaoloP74/Arduino,bsmr-arduino/Arduino,niggor/Arduino_cc,bsmr-arduino/Arduino,vbextreme/Arduino,PaoloP74/Arduino,nandojve/Arduino,me-no-dev/Arduino-1,Chris--A/Arduino,bsmr-arduino/Arduino,majenkotech/Arduino,stickbreaker/Arduino,bsmr-arduino/Arduino,bsmr-arduino/Arduino,Chris--A/Arduino,me-no-dev/Arduino-1,tbowmo/Arduino,niggor/Arduino_cc,nandojve/Arduino,stickbreaker/Arduino,majenkotech/Arduino,PaoloP74/Arduino,Chris--A/Arduino,NicoHood/Arduino,majenkotech/Arduino,me-no-dev/Arduino-1,tbowmo/Arduino,bsmr-arduino/Arduino,niggor/Arduino_cc,majenkotech/Arduino,Chris--A/Arduino,tbowmo/Arduino,nandojve/Arduino,stickbreaker/Arduino,vbextreme/Arduino,stickbreaker/Arduino,NicoHood/Arduino,NicoHood/Arduino,PaoloP74/Arduino,nandojve/Arduino,Chris--A/Arduino,me-no-dev/Arduino-1,niggor/Arduino_cc,nandojve/Arduino,bsmr-arduino/Arduino,tbowmo/Arduino,Chris--A/Arduino,stickbreaker/Arduino,PaoloP74/Arduino,NicoHood/Arduino,vbextreme/Arduino,PaoloP74/Arduino,tbowmo/Arduino,niggor/Arduino_cc,majenkotech/Arduino,tbowmo/Arduino,NicoHood/Arduino,NicoHood/Arduino,tbowmo/Arduino,niggor/Arduino_cc,niggor/Arduino_cc,nandojve/Arduino,PaoloP74/Arduino,nandojve/Arduino,me-no-dev/Arduino-1,niggor/Arduino_cc,stickbreaker/Arduino,NicoHood/Arduino,majenkotech/Arduino,vbextreme/Arduino,me-no-dev/Arduino-1,vbextreme/Arduino,stickbreaker/Arduino,vbextreme/Arduino,vbextreme/Arduino,me-no-dev/Arduino-1,PaoloP74/Arduino,vbextreme/Arduino,niggor/Arduino_cc,nandojve/Arduino,tbowmo/Arduino,majenkotech/Arduino